summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaxim <maxim@FreeBSD.org>2004-12-16 20:27:55 +0000
committermaxim <maxim@FreeBSD.org>2004-12-16 20:27:55 +0000
commit2b107b7efead9b725aa5ed00b12dbc47ac8ac179 (patch)
tree48f7d9c2e1173dbdbeedfe2ab98b001354053461
parent4b04260bb8e2f4e279fd8726b0e769fbbafbe4c5 (diff)
downloadFreeBSD-src-2b107b7efead9b725aa5ed00b12dbc47ac8ac179.zip
FreeBSD-src-2b107b7efead9b725aa5ed00b12dbc47ac8ac179.tar.gz
o The macro versions of sigemptyset(3), sigfillset(3), sigaddset(3),
sigdelset(3) and sigismember(3) were killed about five years ago. o The functions (specifically sigismember(3)) could return -1 and set errno. PR: bin/75156 Obtained from: NetBSD MFC after: 2 weeks o Bump the date of the document.
-rw-r--r--lib/libc/gen/sigsetops.321
1 files changed, 12 insertions, 9 deletions
diff --git a/lib/libc/gen/sigsetops.3 b/lib/libc/gen/sigsetops.3
index 5ca92e5..3fd72b6 100644
--- a/lib/libc/gen/sigsetops.3
+++ b/lib/libc/gen/sigsetops.3
@@ -32,7 +32,7 @@
.\" @(#)sigsetops.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd June 4, 1993
+.Dd December 16, 2004
.Dt SIGSETOPS 3
.Os
.Sh NAME
@@ -92,21 +92,24 @@ The
function returns whether a specified signal
.Fa signo
is contained in the signal set.
-.Pp
-These functions
-are provided as macros in the include file <signal.h>.
-Actual functions are available
-if their names are undefined (with
-.Ic #undef Ar name ) .
.Sh RETURN VALUES
The
.Fn sigismember
function returns 1
if the signal is a member of the set,
0 otherwise.
-The other functions return 0.
+The other functions return 0 upon success.
+A \-1 return value
+indicates an error occurred and the global variable
+.Va errno
+is set to indicate the reason.
.Sh ERRORS
-Currently no errors are detected.
+These functions could fail if one of the following occurs:
+.Bl -tag -width Er
+.It Bq Er EINVAL
+.Fa signo
+has an invalid value.
+.El
.Sh SEE ALSO
.Xr kill 2 ,
.Xr sigaction 2 ,
OpenPOWER on IntegriCloud