Searched refs:path_max (Results 1 – 6 of 6) sorted by relevance
32 int result, i, path_max; in main() local35 path_max = pathconf("/", _PC_PATH_MAX); in main()36 if (path_max == -1) { in main()40 shm_name = malloc(path_max + 1); in main()47 for (i = 0; i < path_max; i++) in main()49 shm_name[path_max] = 0; in main()
32 int fd, i, path_max; in main() local35 path_max = pathconf("/", _PC_PATH_MAX); in main()36 if (path_max == -1) { in main()40 shm_name = malloc(path_max + 1); in main()42 for (i = 0; i < path_max; i++) in main()44 shm_name[path_max] = 0; in main()
533 size_t path_max; in DCIGETTEXT() local536 path_max = (unsigned int) PATH_MAX; in DCIGETTEXT()537 path_max += 2; /* The getcwd docs say to do this. */ in DCIGETTEXT()541 dirname = (char *) alloca (path_max + dirname_len); in DCIGETTEXT()545 ret = getcwd (dirname, path_max); in DCIGETTEXT()549 path_max += path_max / 2; in DCIGETTEXT()550 path_max += PATH_INCR; in DCIGETTEXT()
725 extern unsigned path_max;
394 unsigned path_max = PATH_MAX; variable
3047 allocated_path = resolved_path = (char *)WRAP(malloc)(path_max + 1);