Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)

System Functions (s and S) sigpending(2)
Compile the application using the _PUT_MODEL_ feature test macro or equivalent
compiler command option.
Compile the application using the -Wlp64 compiler command option.
Link the application to the yputdll library (/G/system/zdllnnn/yputdll).
For detailed information about writing multi-threaded and 64-bit applications for the Open Sys-
tem Services environment, see the Open System Services Programmers Guide.
RETURN VALUES
Upon successful completion, the sigpending() function returns the value 0 (zero). Otherwise,
the value -1 is returned and errno is set to indicate the error.
ERRORS
If any of the following conditions occurs, the sigpending( ) function sets errno to the
corresponding value:
[EFAULT] The set parameter points to a location outside the allocated address space of the
process.
[ENOTOSS] The calling process was not an OSS process or a native Guardian process. The
sigpending() function cannot be used in the Guardian environment by a TNS or
accelerated process.
RELATED INFORMATION
Functions: sigaddset(2), sigdelset(2), sigemptyset(3), sigfillset(2), sigismember(2), sigproc-
mask(2), spt_sigpending(2).
Files: signal(4).
STANDARDS CONFORMANCE
This function is an extension to the XPG4 Version 2 specification.
The following are HP extensions to the XPG4 Version 2 specification:
The [EFAULT] and [ENOTOSS] errors can be returned.
The use of this function with the POSIX User Thread Model library conforms to the following
industry standards:
IEEE Std 1003.1-2004, POSIX System Application Program Interface
527186-023 Hewlett-Packard Company 7103