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

Function fd_release

components/dfs/dfs_v2/src/dfs.c:471–477  ·  view source on GitHub ↗

* @ingroup group_fs_file_descriptor * * This function will put the file descriptor. */

Source from the content-addressed store, hash-verified

469 * This function will put the file descriptor.
470 */
471void fd_release(int fd)
472{
473 struct dfs_fdtable *fdt;
474
475 fdt = dfs_fdtable_get();
476 fdt_fd_release(fdt, fd);
477}
478
479/**
480 * @brief Get file structure by file descriptor from current process's fd table

Callers 5

openFunction · 0.70
closeFunction · 0.70
opendirFunction · 0.70
closedirFunction · 0.70
sys_dup2Function · 0.70

Calls 2

dfs_fdtable_getFunction · 0.70
fdt_fd_releaseFunction · 0.70

Tested by

no test coverage detected