home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.23 / text0025.txt < prev    next >
Encoding:
Text File  |  1991-06-15  |  740 b   |  21 lines

  1. Submitted-by: karish@mindcraft.com (Chuck Karish)
  2.  
  3. In article <127638@uunet.UU.NET> steve@unidata.ucar.edu (Steve Emmerson) writes:
  4. >Would someone who knows please tell me the relationship between the
  5. >Standard C macro FILENAME_MAX and the POSIX macro _POSIX_PATH_MAX.
  6. >
  7. >In particular, should they be the same, or should FILENAME_MAX
  8. >correspond instead to _POSIX_NAME_MAX.
  9.  
  10. _POSIX_PATH_MAX is more appropriate.  Standard C has no notion of a
  11. path prefix.  Clause 4.9.1 of both the Standard and its rationale
  12. tells us that a buffer of FILENAME_MAX characters should hold
  13. the entire file name (what POSIX.1 would term the 'path').
  14.  
  15.     Chuck Karish        karish@mindcraft.com
  16.     Mindcraft, Inc.        (415) 323-9000
  17.  
  18.  
  19. Volume-Number: Volume 23, Number 26
  20.  
  21.