|
NAMEsigemptyset , sigfillset ,
sigaddset , sigandset ,
sigdelset , sigisemptyset ,
sigismember , sigorset —
manipulate signal sets
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <signal.h>
int
int
int
int
int
int
int
int
DESCRIPTIONThese functions manipulate signal sets stored in a sigset_t. Eithersigemptyset ()
or sigfillset () must be called for every object of
type sigset_t before any other use of the object.
The The The The The The The The RETURN VALUESThesigisemptyset () function returns 1 if the set is
empty, 0 otherwise.
The The other functions return 0 upon success. A -1 return value indicates an error occurred and the global variable errno is set to indicate the reason. ERRORSThese functions could fail if one of the following occurs:
SEE ALSOkill(2), sigaction(2), sigpending(2), sigprocmask(2), sigsuspend(2)STANDARDSThesigandset (),
sigisemptyset (), and
sigorset () functions are FreeBSD extensions,
compatible with functions of the same name provided by both musl libc and GNU
libc.
The rest of these functions are defined by IEEE Std 1003.1-1988 (“POSIX.1”).
Visit the GSP FreeBSD Man Page Interface. |