1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-02-04 17:15:50 +00:00

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.
This commit is contained in:
Maxim Konovalov 2004-12-16 20:27:55 +00:00
parent e9bddef1f0
commit 63173f5f56
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=138922

View File

@ -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 ,