/DragonOS-0.1.8/user/apps/shell/ |
D | cmd_test.c | 29 close(fd[1]); // 关闭管道的写端 in shell_pipe_test() 50 close(fd[0]); // 关闭管道的读端 in shell_pipe_test() 55 close(fd[0]); // 关闭管道的读端 in shell_pipe_test() 79 close(fd[1]); // 关闭管道的写端 in shell_pipe_test()
|
D | cmd.c | 349 close(fd); in shell_cmd_cat() 388 close(fd); in shell_cmd_touch()
|
/DragonOS-0.1.8/user/apps/test_bind/ |
D | main.c | 65 if (close(tcp_sk_fd1) < 0) in test_tcp_bind() 70 if (close(tcp_sk_fd2) < 0) in test_tcp_bind() 75 if (close(tcp_sk_fd3) < 0) in test_tcp_bind() 127 if (close(udp_sk_fd1) < 0) in test_udp_bind() 132 if (close(udp_sk_fd2) < 0) in test_udp_bind() 137 if (close(udp_sk_fd3) < 0) in test_udp_bind() 216 if (close(server_fd) < 0) in main() 221 if (close(udp_sk_fd) < 0) in main()
|
/DragonOS-0.1.8/user/apps/test_relibc/ |
D | main.c | 20 close(conn); in signal_handler() 21 close(server_sockfd); in signal_handler() 90 close(conn); in tcp_server() 91 close(server_sockfd); in tcp_server() 134 close(conn); in udp_server() 135 close(server_sockfd); in udp_server() 189 close(client_sockfd); in tcp_client()
|
/DragonOS-0.1.8/user/apps/http_server/ |
D | main.c | 107 close(fd); in send_file() 115 close(fd); in send_file() 234 close(new_socket); in main()
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/ |
D | unistd.h | 15 int close(int fd);
|
/DragonOS-0.1.8/kernel/src/common/ |
D | blk_types.h | 17 long (*close)(); member
|
/DragonOS-0.1.8/user/libs/libc/src/ |
D | dirent.c | 52 int retval = close(dirp->fd); in closedir()
|
D | stdio.c | 57 int retval = close(stream->fd); in fclose()
|
D | unistd.c | 15 int close(int fd) in close() function
|
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/ |
D | unistd.md | 9 ``int close(int fd)`` : 关闭文件
|
/DragonOS-0.1.8/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 138 fn close( in close() method 146 let func = guard.f_ops.close.unwrap(); in close()
|
D | ps2_keyboard.c | 131 .close = ps2_keyboard_close,
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | VFS.h | 186 long (*close)(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr); member
|
D | mount.rs | 130 fn close(&self, data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method 131 return self.inner_inode.close(data); in close()
|
D | file.rs | 368 let r: Result<(), SystemError> = self.inode.close(&mut self.private_data); in drop()
|
D | mod.rs | 102 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
|
/DragonOS-0.1.8/kernel/src/filesystem/devfs/ |
D | null_dev.rs | 76 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
|
D | zero_dev.rs | 76 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
|
/DragonOS-0.1.8/kernel/src/driver/disk/ahci/ |
D | ahci_inode.rs | 82 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
|
/DragonOS-0.1.8/kernel/src/driver/base/char/ |
D | mod.rs | 36 fn close(&self, file: Arc<dyn IndexNode>) -> Result<(), SystemError>; in close() method
|
/DragonOS-0.1.8/kernel/src/ipc/ |
D | pipe.rs | 150 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
|
/DragonOS-0.1.8/kernel/src/driver/tty/ |
D | tty_device.rs | 232 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
|
/DragonOS-0.1.8/kernel/src/driver/uart/ |
D | uart.rs | 229 fn close(&self, _file: Arc<dyn IndexNode>) -> Result<(), crate::syscall::SystemError> { in close() method
|
/DragonOS-0.1.8/kernel/src/filesystem/sysfs/ |
D | mod.rs | 164 fn close(&self, _data: &mut super::vfs::FilePrivateData) -> Result<(), SystemError> { in close() method
|