Home
last modified time | relevance | path

Searched refs:close (Results 1 – 25 of 26) sorted by relevance

12

/DragonOS-0.1.7/user/apps/shell/
Dcmd_test.c29 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()
Dcmd.c338 close(fd); in shell_cmd_cat()
377 close(fd); in shell_cmd_touch()
/DragonOS-0.1.7/user/apps/test_relibc/
Dmain.c20 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.7/user/libs/libc/src/include/export/
Dunistd.h15 int close(int fd);
/DragonOS-0.1.7/kernel/src/common/
Dblk_types.h17 long (*close)(); member
/DragonOS-0.1.7/user/libs/libc/src/
Ddirent.c52 int retval = close(dirp->fd); in closedir()
Dstdio.c57 int retval = close(stream->fd); in fclose()
Dunistd.c15 int close(int fd) in close() function
/DragonOS-0.1.7/docs/userland/libc/apis/api-list/
Dunistd.md9 ``int close(int fd)`` : 关闭文件
/DragonOS-0.1.7/kernel/src/driver/keyboard/
Dps2_keyboard.rs138 fn close( in close() method
146 let func = guard.f_ops.close.unwrap(); in close()
Dps2_keyboard.c131 .close = ps2_keyboard_close,
/DragonOS-0.1.7/kernel/src/filesystem/vfs/
DVFS.h186 long (*close)(struct vfs_index_node_t *inode, struct vfs_file_t *file_ptr); member
Dmount.rs130 fn close(&self, data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
131 return self.inner_inode.close(data); in close()
Dfile.rs303 let r: Result<(), SystemError> = self.inode.close(&mut self.private_data); in drop()
Dmod.rs101 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
/DragonOS-0.1.7/kernel/src/filesystem/devfs/
Dnull_dev.rs76 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
Dzero_dev.rs76 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
Dmod.rs351 fn close(&self, _data: &mut super::vfs::FilePrivateData) -> Result<(), SystemError> { in close() method
/DragonOS-0.1.7/kernel/src/driver/disk/ahci/
Dahci_inode.rs82 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
/DragonOS-0.1.7/kernel/src/ipc/
Dpipe.rs150 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
/DragonOS-0.1.7/kernel/src/mm/
Dmm.h190 void (*close)(struct vm_area_struct *area); member
/DragonOS-0.1.7/kernel/src/driver/tty/
Dtty_device.rs232 fn close(&self, _data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method
/DragonOS-0.1.7/kernel/src/filesystem/sysfs/
Dmod.rs162 fn close(&self, _data: &mut super::vfs::FilePrivateData) -> Result<(), SystemError> { in close() method
/DragonOS-0.1.7/kernel/src/net/
Dsocket.rs753 socket.close(); in shutdown()
1011 fn close( in close() method
/DragonOS-0.1.7/kernel/src/filesystem/procfs/
Dmod.rs344 fn close(&self, data: &mut FilePrivateData) -> Result<(), SystemError> { in close() method

12