Home
last modified time | relevance | path

Searched defs:fd (Results 1 – 14 of 14) sorted by relevance

/DragonOS-0.1.8/user/libs/libc/src/
Dunistd.c15 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()
Ddirent.c18 int fd = open(path, O_DIRECTORY); in opendir() local
57 int64_t getdents(int fd, struct dirent *dirent, long count) in getdents()
Dstdio.c87 int fd = open(pathname, o_flags); in fopen() local
/DragonOS-0.1.8/user/apps/test_fstat/
Dmain.c10 int fd = open("/bin/about.elf", O_RDONLY); in main() local
/DragonOS-0.1.8/user/libs/libKeyboard/
Dkeyboard.c291 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/
Dcmd_test.c12 int fd[2], i, n; in shell_pipe_test() local
Dshell.c152 int shell_readline(int fd, char *buf) in shell_readline()
Dcmd.c322 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/
Dstdio.h32 int fd; // 文件描述符 member
Ddirent.h67 int fd; member
/DragonOS-0.1.8/kernel/src/syscall/
Dmod.rs429 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/
Dmain.c76 int fd = open(path, 0); in send_file() local
/DragonOS-0.1.8/kernel/src/process/
Dprocess.c148 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/
Dsyscall.rs62 let fd = current_pcb().alloc_fd(f, None).map(|x| x as usize); in socket() localVariable