* Markus Teich <markus.te...@stusta.mhn.de> [2013-07-18 18:37:57 +0200]: > > isn't PATH_MAX a GNU extension? >
no, actually gnu hurd was a proponent of unlimited paths (so any file operation has unbounded latency on hurd only limited by the address space) PATH_MAX is posix and should be defined in limits.h FILENAME_MAX is iso c and is defined in stdio.h (usually PATH_MAX-1)