home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.20 / text0027.txt < prev    next >
Encoding:
Internet Message Format  |  1990-08-02  |  842 b 

  1. From:  karl@IMA.IMA.ISC.COM (Karl Heuer)
  2.  
  3. In article <717@longway.TIC.COM> From:  Doug Gwyn <gwyn@smoke.brl.mil>
  4. >In article <714@longway.TIC.COM> From:  Andy Tanenbaum <ast@cs.vu.nl>
  5. >>However, why do you urge not to put #include <sys/types.h> into <signal.h>
  6. >>under protection of #ifdef _POSIX_SOURCE?
  7. >
  8. >Because I don't think that use of _POSIX_SOURCE should pollute the
  9. >name space beyond the minimum required for POSIX.
  10.  
  11. In an earlier thread in this newsgroup, it was decided that this is in fact a
  12. requirement of POSIX.  (Clarified in the Supplement, I believe.)  If the user
  13. himself has not included <sys/types.h>, then the name `pid_t' is not reserved
  14. to the implementation, and so it falls in the user's namespace.
  15.  
  16. Karl W. Z. Heuer (karl@ima.ima.isc.com or harvard!ima!karl), The Walking Lint
  17.  
  18. Volume-Number: Volume 20, Number 27
  19.  
  20.