From cc3fe752964df34e7c9e8929d4da3304dbd3ab73 Mon Sep 17 00:00:00 2001 From: Kirk McKusick Date: Sat, 27 Feb 1993 02:12:33 -0800 Subject: [PATCH] initial manual page from Mike Karels at BSDI SCCS-vsn: lib/libc/sys/sigpending.2 6.1 --- usr/src/lib/libc/sys/sigpending.2 | 46 +++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 usr/src/lib/libc/sys/sigpending.2 diff --git a/usr/src/lib/libc/sys/sigpending.2 b/usr/src/lib/libc/sys/sigpending.2 new file mode 100644 index 0000000000..47a9ad0823 --- /dev/null +++ b/usr/src/lib/libc/sys/sigpending.2 @@ -0,0 +1,46 @@ +.\" Copyright (c) 1993 The Regents of the University of California. +.\" All rights reserved. +.\" +.\" This code is derived from software contributed to Berkeley by +.\" Berkeley Software Design, Inc. +.\" +.\" %sccs.include.redist.roff% +.\" +.\" @(#)sigpending.2 6.1 (Berkeley) %G% +.\" +.Dd +.Dt SIGPENDING 2 +.Os +.Sh NAME +.Nm sigpending +.Nd get pending signals +.Sh SYNOPSIS +.Fd #include +.Ft int +.Fn sigpending "sigset_t *set" +.Sh DESCRIPTION +The +.Nm sigpending +function returns a mask of the signals pending for delivery +to the calling process in the location indicated by +.Fa set . +Signals may be pending because they are currently masked, +or transiently before delivery (although the latter case is not +normally detectable). +.Sh RETURN VALUES +A 0 value indicated that the call succeeded. A \-1 return value +indicates an error occurred and +.Va errno +is set to indicated the reason. +.Sh ERRORS +The +.Nm sigpending +function does not currently detect any errors. +.Sh SEE ALSO +.Xr sigaction 2 , +.Xr sigprocmask 2 +.Sh STANDARDS +The +.Nm sigpending +function is defined by +.St -p1003.1 . -- 2.20.1