Home | History | Annotate | Download | only in intl

Lines Matching defs:path_max

166    PATH_MAX but might cause redefinition warnings when sys/param.h is
176 #if !defined PATH_MAX && defined _PC_PATH_MAX
177 # define PATH_MAX (pathconf ("/", _PC_PATH_MAX) < 1 ? 1024 : pathconf ("/", _PC_PATH_MAX))
181 #if defined HAVE_SYS_PARAM_H && !defined PATH_MAX && !defined MAXPATHLEN
185 #if !defined PATH_MAX && defined MAXPATHLEN
186 # define PATH_MAX MAXPATHLEN
189 #ifndef PATH_MAX
190 # define PATH_MAX _POSIX_PATH_MAX
537 size_t path_max;
540 path_max = (unsigned int) PATH_MAX;
541 path_max += 2; /* The getcwd docs say to do this. */
545 dirname = (char *) alloca (path_max + dirname_len);
549 ret = getcwd (dirname, path_max);
553 path_max += path_max / 2;
554 path_max += PATH_INCR;