Searched refs:dest_path (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.2/user/libs/libc/src/ |
D | unistd.c | 119 int64_t chdir(char *dest_path) in chdir() argument 121 if (dest_path == NULL) in chdir() 128 return syscall_invoke(SYS_CHDIR, (uint64_t)dest_path, 0, 0, 0, 0, 0, 0, 0); in chdir()
|
D | unistd.h | 82 int64_t chdir(char *dest_path);
|
/DragonOS-0.1.2/kernel/src/syscall/ |
D | syscall.c | 369 char *dest_path = (char *)regs->r8; in sys_chdir() local 372 if (dest_path == NULL) in sys_chdir() 379 dest_path_len = strnlen_user(dest_path, PAGE_4K_SIZE); in sys_chdir() 382 dest_path_len = strnlen(dest_path, PAGE_4K_SIZE); in sys_chdir() 400 strncpy_from_user(path, dest_path, dest_path_len + 1); in sys_chdir() 403 strncpy(path, dest_path, dest_path_len + 1); in sys_chdir()
|
/DragonOS-0.1.2/docs/userland/libc/apis/api-list/ |
D | unistd.md | 47 ``int64_t chdir(char *dest_path)``
|