View Issue Details

IDProjectCategoryView StatusLast Update
00008151003.1(2013)/Issue7+TC1System Interfacespublic2019-06-10 08:54
Reportergeoffclare Assigned To 
PrioritynormalSeverityEditorialTypeError
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionsigtimedwait
Page Number1966
Line Number63001
Interp Status---
Final Accepted Text
Summary0000815: sigwaitinfo() equivalence to sigwait() needs additional exception
DescriptionThe sigtimedwait() page says:

    The sigwaitinfo() function shall be equivalent to the sigwait()
    function if the info argument is NULL. If the info argument is
    non-NULL, the sigwaitinfo() function shall be equivalent to
    sigwait(), except that the selected signal number shall be stored
    in the si_signo member, and the cause of the signal shall be
    stored in the si_code member.

These equivalence statements do not take into account the difference
in return value and error reporting method between sigwaitinfo() and
sigwait(): sigwaitinfo() returns a signal number on success and -1
on failure with errno set; sigwait() returns 0 on success and an
error number on failure.

(This difference also applies to sigtimedwait(), but that will
automatically be corrected by fixing the description of sigwaitinfo(),
via the equivalence statement in the first paragraph.)
Desired ActionChange:
The sigwaitinfo() function shall be equivalent to the sigwait() function if the info argument is NULL. If the info argument is non-NULL, the sigwaitinfo() function shall be equivalent to sigwait(), except that the selected signal number ...

to:
The sigwaitinfo() function shall be equivalent to the sigwait() function, except that the return value and the error reporting method are different (see RETURN VALUE), and that if the info argument is non-NULL, the selected signal number ...

Tagstc2-2008

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2014-01-14 12:22 geoffclare New Issue
2014-01-14 12:22 geoffclare Name => Geoff Clare
2014-01-14 12:22 geoffclare Organization => The Open Group
2014-01-14 12:22 geoffclare Section => sigtimedwait
2014-01-14 12:22 geoffclare Page Number => 1966
2014-01-14 12:22 geoffclare Line Number => 63001
2014-01-14 12:22 geoffclare Interp Status => ---
2014-01-15 10:37 geoffclare Desired Action Updated
2014-03-13 15:55 Don Cragun Status New => Resolved
2014-03-13 15:55 Don Cragun Resolution Open => Accepted
2014-03-13 15:57 nick Tag Attached: tc2-2008
2019-06-10 08:54 agadmin Status Resolved => Closed