MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / fd_release

Function fd_release

components/dfs/dfs_v1/src/dfs.c:429–435  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427}
428
429void fd_release(int fd)
430{
431 struct dfs_fdtable *fdt;
432
433 fdt = dfs_fdtable_get();
434 fdt_fd_release(fdt, fd);
435}
436
437/**
438 * @brief Duplicates a file descriptor.

Callers 15

openFunction · 0.70
closeFunction · 0.70
mkdirFunction · 0.70
opendirFunction · 0.70
closedirFunction · 0.70
sys_dup2Function · 0.70
_ipc_msg_fd_newFunction · 0.50
do_eventfdFunction · 0.50
epoll_do_createFunction · 0.50
timerfd_do_createFunction · 0.50
signalfd_doFunction · 0.50
acceptFunction · 0.50

Calls 2

dfs_fdtable_getFunction · 0.70
fdt_fd_releaseFunction · 0.70

Tested by 1

test_dfs_renameFunction · 0.40