Use of the information contained in this unapproved document is at your own risk
.Last update: 30 March,1998
1003.1c-95 #4 _____________________________________________________________________________ Interpretation Number: XXXX Topic: pthread_atfork - Headers and Functions Relevant Sections: 3.1.3.1 lines 79-81 , 2.7.3 Interpretation Request: (Defect Report) ----------------------- From: ajosey@xopen.org (Andrew Josey) Date: Thu Mar 7 15:34:04 GMT 1996 (This request raised on behalf of the X/Open Base Working group) 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? Interpretation response ------------------------ The P1003.1b-1993 standard, to which P1003.1c 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. Forwarded to Interpretations group: Feb 13 1996 Finalised: Apr 2 1996