/DragonOS-0.1.8/user/libs/libc/src/ |
D | unistd.c | 15 int close(int fd) in close() 28 ssize_t read(int fd, void *buf, size_t count) in read() 41 ssize_t write(int fd, void const *buf, size_t count) in write() 54 off_t lseek(int fd, off_t offset, int whence) in lseek() 220 int dup(int fd) in dup()
|
D | dirent.c | 18 int fd = open(path, O_DIRECTORY); in opendir() local 57 int64_t getdents(int fd, struct dirent *dirent, long count) in getdents()
|
D | stdio.c | 87 int fd = open(pathname, o_flags); in fopen() local
|
/DragonOS-0.1.8/user/apps/test_fstat/ |
D | main.c | 10 int fd = open("/bin/about.elf", O_RDONLY); in main() local
|
/DragonOS-0.1.8/user/libs/libKeyboard/ |
D | keyboard.c | 291 int keyboard_analyze_keycode(int fd) in keyboard_analyze_keycode() 528 int keyboard_get_scancode(int fd) in keyboard_get_scancode()
|
/DragonOS-0.1.8/user/apps/shell/ |
D | cmd_test.c | 12 int fd[2], i, n; in shell_pipe_test() local
|
D | shell.c | 152 int shell_readline(int fd, char *buf) in shell_readline()
|
D | cmd.c | 322 int fd = open(file_path, 0); in shell_cmd_cat() local 378 int fd = open(file_path, O_CREAT); in shell_cmd_touch() local
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/ |
D | stdio.h | 32 int fd; // 文件描述符 member
|
D | dirent.h | 67 int fd; member
|
/DragonOS-0.1.8/kernel/src/syscall/ |
D | mod.rs | 429 let fd = args[0]; in handle() localVariable 433 let fd = args[0] as i32; in handle() localVariable 452 let fd = args[0] as i32; in handle() localVariable 474 let fd = args[0] as i32; in handle() localVariable 543 let fd = args[0] as i32; in handle() localVariable 959 let fd = args[0] as i32; in handle() localVariable 971 let fd = args[0] as i32; in handle() localVariable 986 let fd = args[0] as i32; in handle() localVariable
|
/DragonOS-0.1.8/user/apps/http_server/ |
D | main.c | 76 int fd = open(path, 0); in send_file() local
|
/DragonOS-0.1.8/kernel/src/process/ |
D | process.c | 148 int fd = enter_syscall_int(SYS_OPEN, (uint64_t)path, O_RDONLY, 0, 0, 0, 0, 0, 0); in process_open_exec_file() local
|
/DragonOS-0.1.8/kernel/src/net/ |
D | syscall.rs | 62 let fd = current_pcb().alloc_fd(f, None).map(|x| x as usize); in socket() localVariable
|