The bit about sigpending not detecting any errors is a lie, it can return

EFAULT.

PR:		24360
Submitted by:	Kenneth Ingham <ingham@i-pi.com>
This commit is contained in:
ben 2001-01-16 21:57:42 +00:00
parent 0fa90f4375
commit feb79c4e4d

View File

@ -62,9 +62,14 @@ indicates an error occurred and
.Va errno
is set to indicated the reason.
.Sh ERRORS
The
.Fn sigpending
function does not currently detect any errors.
will fail if:
.Bl -tag -width Er
.It Bq Er EFAULT
The
.Fa set
argument specified an invalid address.
.El
.Sh SEE ALSO
.Xr sigaction 2 ,
.Xr sigprocmask 2