home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / v21 / 032 / text0000.txt < prev   
Encoding:
Internet Message Format  |  1990-12-05  |  957 b 

  1. From:  Doug Gwyn <gwyn@smoke.brl.mil>
  2.  
  3. In article <11188@cs.utexas.edu> From:  Don_Lewine@dgc.ceo.dg.com
  4. >Question: Is there anything wrong with this?  If I write a strictly
  5. >conforming application, can I include <unistd.h> for SVID 
  6. >compatibility even if POSIX does not require it?  Is there any 
  7. >problem with including "extra" header files (other than the obvious 
  8. >restrictions on the namespace)?
  9.  
  10. Yes, there can be a problem any time an extra header is included,
  11. if there is no guarantee as to the identifiers that the header may
  12. usurp.  No POSIX implementation can require an application to use
  13. any facilities beyond what the POSIX standard requires for the
  14. application, so if in fact UNIX System V were to need the extra
  15. header (which it doesn't), it would not be POSIX compliant.  Note
  16. that the means by which a POSIX-conforming compilation/execution
  17. environment is obtained on your system may be nonobvious..
  18.  
  19. Volume-Number: Volume 21, Number 32
  20.  
  21.