Answering questions that may arise related to the meaning of portions of an IEEE standard concerning specific applications.

IEEE Standards Interpretation for IEEE Std 1003.1™-1990 IEEE Standard for Information Technology--Portable Operating System Interfaces (POSIX®)

Copyright © 2001 by the Institute of Electrical and Electronics Engineers, Inc. 3 Park Avenue New York, New York 10016-5997 USA All Rights Reserved.

Interpretations are issued to explain and clarify the intent of a standard and do not constitute an alteration to the original standard. In addition, interpretations are not intended to supply consulting information. Permission is hereby granted to download and print one copy of this document. Individuals seeking permission to reproduce and/or distribute this document in its entirety or portions of this document must contact the IEEE Standards Department for the appropriate license. Use of the information contained in this document is at your own risk.

IEEE Standards Department Copyrights and Permissions 445 Hoes Lane, Piscataway, New Jersey 08855-1331, USA

Interpretation Request #29
Topic: SSIZE_MAX minimum values Relevant Sections: 2.8.6 Classification: Editorial defect

Table 2-7 in section 2.8.6 (Invariant Values) lists {_POSIX_SSIZE_MAX} as the value for the symbol {SSIZE_MAX}. It is not made clear in this section that an implementation is per- mitted to support a value for {SSIZE_MAX} that exceeds {_POSIX_SSIZE_MAX}.

Without clarification, it might be possible to interpret the standard as requiring all implementations to set {SSIZE_MAX} to 32767. The text of sections 2.8.2 through 2.8.5 explicitly per- mit the symbols in tables 2-5 and 2-6 to take on values larger than the minimum values in table 2-3. The third columns of tables 2-4 and 2-5 are even titled "Minimum Value".

In contrast to this possible interpretation, BSD currently de- clares the read() and write() functions with return values and nbyte parameters to be 32-bit signed ints, for which SSIZE_MAX would be defined to be MAX_INT, 21474783647 not 32767.

Interpretation Response
The third column header in table 2-7 had the word "Minimum" inadvertantly omitted.

Rationale for Interpretation
This is an editorial defect with no impact on test assertions.