Use of the information contained in this unapproved document is at your own risk
.Last update: 10 April,2001
1003.1d-99 #109
_____________________________________________________________________________
Interpretation Number: XXXX
Topic: return type of mq_timedreceive()
Relevant Sections: 15.2.5.1, Page 55, Line 72 of Draft 14
PASC Interpretation Request: (Defect Report)
----------------------------
Date: 2000 Jun 13
------------------------------------------------------------------------
7 Defect Report concerning (number and title of International Standard
or DIS final text, if applicable):
Advanced Realtime Extensions: IEEE Std 1003.1d-1999
------------------------------------------------------------------------
8 Qualifier (e.g. error, omission, clarification required):
1
Error=1 , Omission=2, Clarification=3
------------------------------------------------------------------------
9 References in document (e.g. page, clause, figure, and/or table
numbers):
Section 15.2.5.1, Page 55, Line 72 of Draft 14
------------------------------------------------------------------------
10 Nature of defect (complete, concise explanation of the perceived
problem):
The return type of the new function mq_timedreceive() should be
ssize_t, not int. This function was meant to be the functional
equivalent of mq_receive() with the addition of a timeout capability.
The ballot group failed to notice that the return type from the
function was different from the original untimed function.
------------------------------------------------------------------------
11 Solution proposed by the submitter (optional):
Change "int" in the synopsis line to "ssize_t".
------------------------------------------------------------------------
Interpretation response
------------------------
The standards states that the return type for
function mq_timedreceive() should be int,
and conforming implementations must conform to this.
However, concerns have been raised about this which are being referred to
the sponsor.
Rationale
-------------
The return type is inconsistent with mq_receive().
Notes to project editor (not part of the interpretation):
------------------------
This should be fixed as in section 11.
Forwarded to Interpretations group: 13 June 2000
Proposed resolution: 13 June 2000
Finalised Interpretation: 25 July 2000