* @brief get fd (index) by dfs file object. * */
| 642 | * |
| 643 | */ |
| 644 | int fd_get_fd_index(struct dfs_file *file) |
| 645 | { |
| 646 | struct dfs_fdtable *fdt; |
| 647 | |
| 648 | fdt = dfs_fdtable_get(); |
| 649 | return fd_get_fd_index_form_fdt(fdt, file); |
| 650 | } |
| 651 | |
| 652 | /** |
| 653 | * @brief Associates a file descriptor with a file object. |
nothing calls this directly
no test coverage detected