* @ingroup group_fs_file_descriptor * * This function will put the file descriptor. */
| 469 | * This function will put the file descriptor. |
| 470 | */ |
| 471 | void 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 |