On Tue, 28 Aug 2001 09:33:16 +0200, Freudenberger Joerg wrote:

>Do you know if this is a always constant #define in a
>C header file e.g. 
>       V column 1
>
>       #define PATH_MAX 1024
>?
>
>Or is this a virtual constant and to know the value 
>meen to request it by means of fpathconf(), pathconf() 
>and sysconf() during runtime ?

Good point, one should read the full context and not
just grepping around ;-)


8798           Pathname Variable Values
8799           The values in the following list may be constants within an 
implementation or may vary from
8800           one pathname to another. For example, file systems or directories 
may have different
8801           characteristics.
8802           A definition of one of the values shall be omitted from the 
<limits.h> header on specific
8803           implementations where the corresponding value is equal to or 
greater than the stated minimum,
8804           but where the value can vary depending on the file to which it is 
applied. The actual value
8805           supported for a specific pathname shall be provided by the 
pathconf( ) function.
[...]
8825               {PATH_MAX}
8826                   Maximum number of bytes in a pathname, including the 
terminating null character.
8827                   Minimum Acceptable Value: {_POSIX_PATH_MAX}
8828 XSI               Minimum Acceptable Value: {_XOPEN_PATH_MAX}


AM: Interpretation is left up to the reader ... :-)


Nevertheless, the point was just whether "something" like
this still exists in Posix. And the answer is, it did
and will exist.

---
Alexander Mai
[EMAIL PROTECTED]


Reply via email to