Copyright © 1996 IEEE. All rights reserved.
Interpretation Number: 4 Topic: pthread_atfork -- Headers and Functions Relevant Clauses: 3.1.3.1 lines 79-81, 2.7.3 Interpretation Request: ----------------------- Which header is the function pthread_atfork() defined in? Should it be pthread.h? At the moment this has been ommitted from that header. Was this intentional? IEEE Interpretation for IEEE Std 1003.1c-1995: ------------------------ IEEE Std 1003.1b-1993, to which IEEE Std 1003.1c-1995 is an amendment, on page 39 section 2.7.3 lines 1119 to 1121, states that "if a function is not listed below, it shall have its prototype appear in <unistd.h>...." pthread_atfork is not listed, so the standard is clear that it shall be listed in <unistd.h>. Rationale: ------------- None.
Back to IEEE Standards Interpretations for IEEE Std 1003.1c-1995