cwd 49 include/ipc/exec.h char cwd[PATH_MAX]; /* current directory */ cwd 44 usr/bin/pwd/pwd.c char cwd[PATH_MAX]; cwd 51 usr/bin/pwd/pwd.c if ((p = getcwd(cwd, PATH_MAX)) == NULL) { cwd 104 usr/bin/sh/sh.c static char cwd[PATH_MAX]; cwd 107 usr/bin/sh/sh.c getcwd(cwd, PATH_MAX); cwd 108 usr/bin/sh/sh.c sprintf(prompt, "\033[32m[prex:%s]\033[0m# ", cwd); cwd 102 usr/lib/posix/exec/execve.c getcwd(msg.cwd, PATH_MAX); cwd 222 usr/server/boot/boot.c strlcpy(msg.cwd, "/", sizeof(msg.cwd)); cwd 90 usr/server/exec/exec_execve.c if ((error = conv_path(msg->cwd, msg->path, path)) != 0) { cwd 233 usr/server/exec/exec_execve.c conv_path(char *cwd, char *path, char *full) cwd 242 usr/server/exec/exec_execve.c if (strlen(cwd) + len >= PATH_MAX) cwd 251 usr/server/exec/exec_execve.c strlcpy(full, cwd, PATH_MAX); cwd 252 usr/server/exec/exec_execve.c len = strlen(cwd); cwd 744 usr/server/fs/vfs/vfs_syscalls.c sys_fchdir(file_t fp, char *cwd) cwd 754 usr/server/fs/vfs/vfs_syscalls.c strlcpy(cwd, dvp->v_path, PATH_MAX); cwd 226 usr/server/fs/vfs/vfs_task.c char *src, *tgt, *p, *end, *cwd; cwd 229 usr/server/fs/vfs/vfs_task.c cwd = t->t_cwd; cwd 234 usr/server/fs/vfs/vfs_task.c if (strlen(cwd) + len >= PATH_MAX) cwd 243 usr/server/fs/vfs/vfs_task.c strlcpy(full, cwd, PATH_MAX); cwd 244 usr/server/fs/vfs/vfs_task.c len = strlen(cwd);