of course!

Mark H. Colburn mark at jhereg.Minnetech.MN.ORG
Sat Nov 25 17:29:58 AEST 1989


In article <1989Nov22.224209.28911 at athena.mit.edu> jik at athena.mit.edu (Jonathan I. Kamens) writes:
>In article <1051 at root44.co.uk> gwc at root.co.uk (Geoff Clare) writes:
>=            Another is that PATH_MAX might not be defined (it should
>=always be obtained via pathconf() in portable applications).

_POSIX_PATH_MAX will always be defined in limits.h and will always have a
value of 255. (ss2.9.2)  However, some systems have virtually unlimited 
pathname limits.  In these cases PATH_MAX will not be defined and the 
application should be smart enough to do the right thing. (ss2.9.4)

Checking pathconf for the PATH_MAX value may also yield an undefined
result.  In this case, the application should assume that pathname lengths
are unlimited, and again, do the right thing.  (ss5.7.1.3)

-- 
Mark H. Colburn                       mark at Minnetech.MN.ORG
Open Systems Architects, Inc.



More information about the Comp.unix.wizards mailing list