Go to the previous, next section.

sigsuspend

SYNOPSIS

sigsuspend(int restart, sigset_t old_mask, sigset_t set);

PARAMETERS

restart: [in] the sources take the address of this parameter to alter the stack frame...

old_mask: [in] this is not used in the kernel sources!!!

set: [in] the new signal mask.

DESCRIPTION

Atomically sets the signal mask to set and waits for a signal to occur.

RETURN VALUE

Always -1 and errno is set to EINTR.

Go to the previous, next section.