sigpending (2)
Leading comments
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. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary for...
NAME
sigpending - get pending signalsLIBRARY
Lb libcSYNOPSIS
In signal.h Ft int Fn sigpending sigset_t *setDESCRIPTION
The Fn sigpending system call returns a mask of the signals pending for delivery to the calling thread or 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).RETURN VALUES
Rv -std sigpendingERRORS
The Fn sigpending system call will fail if:- Bq Er EFAULT
- The Fa set argument specified an invalid address.