HelenOS sources
PATH_MAX 49 uspace/app/bdsh/cmds/builtins/cd/cd.c static char previous_directory[PATH_MAX] = "";
PATH_MAX 50 uspace/app/bdsh/cmds/builtins/cd/cd.c static char previous_directory_tmp[PATH_MAX];
PATH_MAX 57 uspace/app/bdsh/cmds/builtins/cd/cd.c errno_t rc = vfs_cwd_get(previous_directory_tmp, PATH_MAX);
PATH_MAX 65 uspace/app/bdsh/cmds/builtins/cd/cd.c str_cpy(previous_directory, PATH_MAX, previous_directory_tmp);
PATH_MAX 185 uspace/app/bdsh/cmds/modules/cp/cp.c char dest_path[PATH_MAX];
PATH_MAX 186 uspace/app/bdsh/cmds/modules/cp/cp.c char src_path[PATH_MAX];
PATH_MAX 206 uspace/app/bdsh/cmds/modules/cp/cp.c str_cpy(dest_path, PATH_MAX, dest);
PATH_MAX 216 uspace/app/bdsh/cmds/modules/cp/cp.c merge_paths(dest_path, PATH_MAX, src_fname);
PATH_MAX 299 uspace/app/bdsh/cmds/modules/cp/cp.c str_cpy(dest_path, PATH_MAX, dest);
PATH_MAX 309 uspace/app/bdsh/cmds/modules/cp/cp.c merge_paths(dest_path, PATH_MAX, src_dirname);
PATH_MAX 353 uspace/app/bdsh/cmds/modules/cp/cp.c char src_dent[PATH_MAX];
PATH_MAX 354 uspace/app/bdsh/cmds/modules/cp/cp.c char dest_dent[PATH_MAX];
PATH_MAX 356 uspace/app/bdsh/cmds/modules/cp/cp.c str_cpy(src_dent, PATH_MAX, src);
PATH_MAX 357 uspace/app/bdsh/cmds/modules/cp/cp.c merge_paths(src_dent, PATH_MAX, dp->d_name);
PATH_MAX 359 uspace/app/bdsh/cmds/modules/cp/cp.c str_cpy(dest_dent, PATH_MAX, dest_path);
PATH_MAX 360 uspace/app/bdsh/cmds/modules/cp/cp.c merge_paths(dest_dent, PATH_MAX, dp->d_name);
PATH_MAX 210 uspace/app/bdsh/cmds/modules/ls/ls.c buff = (char *) malloc(PATH_MAX);
PATH_MAX 244 uspace/app/bdsh/cmds/modules/ls/ls.c len = snprintf(buff, PATH_MAX - 1, "%s/%s", d, tosort[nbdirs].name);
PATH_MAX 319 uspace/app/bdsh/cmds/modules/ls/ls.c subdir_path = (char *) malloc(PATH_MAX);
PATH_MAX 332 uspace/app/bdsh/cmds/modules/ls/ls.c memset(subdir_path, 0, PATH_MAX);
PATH_MAX 334 uspace/app/bdsh/cmds/modules/ls/ls.c if (str_size(subdir_path) + str_size(path) + 1 <= PATH_MAX)
PATH_MAX 335 uspace/app/bdsh/cmds/modules/ls/ls.c str_append(subdir_path, PATH_MAX, path);
PATH_MAX 337 uspace/app/bdsh/cmds/modules/ls/ls.c str_size(subdir_path) + str_size(trailing_slash) + 1 <= PATH_MAX)
PATH_MAX 338 uspace/app/bdsh/cmds/modules/ls/ls.c str_append(subdir_path, PATH_MAX, trailing_slash);
PATH_MAX 340 uspace/app/bdsh/cmds/modules/ls/ls.c str_size(dir_list[i].name) + 1 <= PATH_MAX)
PATH_MAX 341 uspace/app/bdsh/cmds/modules/ls/ls.c str_append(subdir_path, PATH_MAX, dir_list[i].name);
PATH_MAX 459 uspace/app/bdsh/cmds/modules/ls/ls.c de.name = (char *) malloc(PATH_MAX);
PATH_MAX 464 uspace/app/bdsh/cmds/modules/ls/ls.c memset(de.name, 0, PATH_MAX);
PATH_MAX 467 uspace/app/bdsh/cmds/modules/ls/ls.c if (vfs_cwd_get(de.name, PATH_MAX) != EOK) {
PATH_MAX 473 uspace/app/bdsh/cmds/modules/ls/ls.c str_cpy(de.name, PATH_MAX, argv[optind]);
PATH_MAX 53 uspace/app/bdsh/cmds/modules/pwd/pwd.c buff = (char *) malloc(PATH_MAX);
PATH_MAX 59 uspace/app/bdsh/cmds/modules/pwd/pwd.c memset(buff, 0, PATH_MAX);
PATH_MAX 61 uspace/app/bdsh/cmds/modules/pwd/pwd.c if (vfs_cwd_get(buff, PATH_MAX) != EOK) {
PATH_MAX 101 uspace/app/bdsh/cmds/modules/rm/rm.c if (NULL == (rm->nwd = (char *) malloc(PATH_MAX)))
PATH_MAX 103 uspace/app/bdsh/cmds/modules/rm/rm.c memset(rm->nwd, 0, PATH_MAX);
PATH_MAX 105 uspace/app/bdsh/cmds/modules/rm/rm.c if (NULL == (rm->owd = (char *) malloc(PATH_MAX)))
PATH_MAX 107 uspace/app/bdsh/cmds/modules/rm/rm.c memset(rm->owd, 0, PATH_MAX);
PATH_MAX 109 uspace/app/bdsh/cmds/modules/rm/rm.c if (NULL == (rm->cwd = (char *) malloc(PATH_MAX)))
PATH_MAX 111 uspace/app/bdsh/cmds/modules/rm/rm.c memset(rm->cwd, 0, PATH_MAX);
PATH_MAX 115 uspace/app/bdsh/cmds/modules/rm/rm.c if (EOK != vfs_cwd_get(rm->owd, PATH_MAX))
PATH_MAX 165 uspace/app/bdsh/cmds/modules/rm/rm.c char buff[PATH_MAX];
PATH_MAX 178 uspace/app/bdsh/cmds/modules/rm/rm.c int len = snprintf(buff, PATH_MAX - 1, "%s/%s", path, dp->d_name);
PATH_MAX 179 uspace/app/bdsh/cmds/modules/rm/rm.c if (len > PATH_MAX - 1) {
PATH_MAX 225 uspace/app/bdsh/compl.c cs->path_list[0] = malloc(sizeof(char) * PATH_MAX);
PATH_MAX 231 uspace/app/bdsh/compl.c int ret = snprintf(cs->path_list[0], PATH_MAX, "%s/%s", search_dir[0], dirname);
PATH_MAX 232 uspace/app/bdsh/compl.c if (ret < 0 || ret >= PATH_MAX) {
PATH_MAX 35 uspace/app/bdsh/config.h #ifndef PATH_MAX
PATH_MAX 86 uspace/app/bdsh/exec.c *found = (char *)malloc(PATH_MAX);
PATH_MAX 95 uspace/app/bdsh/exec.c if (str_length(search_dir[i]) + cmd_length + 2 > PATH_MAX) {
PATH_MAX 100 uspace/app/bdsh/exec.c memset(*found, 0, PATH_MAX);
PATH_MAX 101 uspace/app/bdsh/exec.c snprintf(*found, PATH_MAX, "%s/%s", search_dir[i], cmd);
PATH_MAX 61 uspace/app/bdsh/util.c usr->cwd = (char *) realloc(usr->cwd, PATH_MAX);
PATH_MAX 67 uspace/app/bdsh/util.c if (vfs_cwd_get(usr->cwd, PATH_MAX) != EOK)
PATH_MAX 68 uspace/app/bdsh/util.c snprintf(usr->cwd, PATH_MAX, "(unknown)");
PATH_MAX 40 uspace/lib/posix/include/posix/limits.h #ifndef PATH_MAX
PATH_MAX 49 uspace/lib/posix/include/posix/stdio.h #define L_ctermid PATH_MAX
PATH_MAX 78 uspace/lib/posix/src/stdlib.c #ifndef PATH_MAX
PATH_MAX 110 uspace/lib/posix/src/stdlib.c #ifdef PATH_MAX
PATH_MAX 111 uspace/lib/posix/src/stdlib.c str_cpy(resolved, PATH_MAX, absolute);
HelenOS homepage, sources at GitHub