Interpretations

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

IEEE Standards Interpretations for IEEE Std 1003.1c™-1995 IEEE Standard for Information Technology--Portable Operating System Interface (POSIX(R)) - System Application Program Interface (API) Amendment 2: Threads Extension (C Language)

Copyright © 1996 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 #35
Topic: cancellation points Relevant Clauses: 18.1.2

In the second list ("A cancellation point may also occur"), several functions from ISO/ANSI C 1990 are omitted, specifically (at least), vprintf and vfprintf. Because printf is present, these should be also. (This is critical, since the standard specifically prohibits additional cancellation points for functions in POSIX.1 or ISO C.)

Interpretation Response
The standard is clear that vprintf and vfprintf shall not be cancellation points. Conforming implementations must conform to this. However, it it the opinion of the interpretations committee that this is an oversight on the part of the working and balloting groups and that they may be a cancellation point. This is being referred to the sponsor for consideration.

Rationale for Interpretation
Printf may be a cancellation point and it is inconsistent to not also allow vprintf and vfprintf.