Searched refs:dest_path (Results 1 – 4 of 4) sorted by relevance
/DragonOS-0.1.3/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()
|
/DragonOS-0.1.3/user/libs/libc/src/include/ |
D | unistd.h | 86 int64_t chdir(char *dest_path);
|
/DragonOS-0.1.3/kernel/src/syscall/ |
D | syscall.c | 396 char *dest_path = (char *)regs->r8; in sys_chdir() local 399 if (dest_path == NULL) in sys_chdir() 406 dest_path_len = strnlen_user(dest_path, PAGE_4K_SIZE); in sys_chdir() 409 dest_path_len = strnlen(dest_path, PAGE_4K_SIZE); in sys_chdir() 427 strncpy_from_user(path, dest_path, dest_path_len + 1); in sys_chdir() 430 strncpy(path, dest_path, dest_path_len + 1); in sys_chdir()
|
/DragonOS-0.1.3/docs/userland/libc/apis/api-list/ |
D | unistd.md | 47 ``int64_t chdir(char *dest_path)``
|