Details
[Home]
Issue of the Standard # S0046
Brief
Contradiction in the description of functions sigemptyset() and sigfillset().
Detailed Description
The “Return value” section for functions sigemptyset() and sigfillset() states that in case of not successful completion the functions “shall return -1 and set errno to indicate the error”. However, the “Errors” section for the both functions states that “no errors are defined”.
Problem location(s) in the standard
The Open Group Base Specifications Issue 6 IEEE Std 1003.1, 2004 Edition (SUS 3.0), System Interfaces,<br> description of function sigemptyset(), description of function sigfillset().
Possible solutions
Define the possible error codes or remove the sentence “and set errno to indicate the error” from the description in “Return value” section for the case of not successful completion.
Accepted
POSIX aardvark,
Request Number 142
[Home]