For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > June 2007 > Re: PATH_MAX









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: PATH_MAX
Geoff Clare

2007-06-25, 8:06 am

phil-news-nospam wrote:

> If the OS kernel imposes no limit whatsoever, and the limit
> is thusly whatever memory is available, how do you define PATH_MAX?


POSIX requires that for this case, PATH_MAX is not defined as a
constant in <limits.h>, and [f]pathconf(..., _PC_PATH_MAX) returns -1
without changing errno.

--
Geoff Clare <netnews@gclare.org.uk>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com