Home | History | Annotate | Download | only in intl

Lines Matching defs:path_max

171    PATH_MAX but might cause redefinition warnings when sys/param.h is
181 #if !defined PATH_MAX && defined _PC_PATH_MAX
182 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX))
186 #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
190 #if !defined PATH_MAX && defined MAXPATHLEN
191 # define PATH_MAX MAXPATHLEN
194 #ifndef PATH_MAX
195 # define PATH_MAX _POSIX_PATH_MAX
533 size_t path_max;
536 path_max = (unsigned int) PATH_MAX;
537 path_max += 2; /* The getcwd docs say to do this. */
541 dirname = (char *) alloca (path_max + dirname_len);
545 ret = getcwd (dirname, path_max);
549 path_max += path_max / 2;
550 path_max += PATH_INCR;