aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMaxim Konovalov <maxim@FreeBSD.org>2004-12-16 20:27:55 +0000
committerMaxim Konovalov <maxim@FreeBSD.org>2004-12-16 20:27:55 +0000
commit63173f5f5606c9138a1fd360fe38c8d3da6e78fe (patch)
tree48f7d9c2e1173dbdbeedfe2ab98b001354053461 /lib
parente9bddef1f099fac8812a12078643e19048c9b464 (diff)
Notes
Diffstat (limited to 'lib')
-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 5ca92e5c6fc6..3fd72b6c671b 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 ,