RT-Thread RTOS
1.2.0
An open source embedded real-time operating system
|
Functions | |
int | fdt_fd_new (struct dfs_fdtable *fdt) |
struct dfs_file * | fdt_get_file (struct dfs_fdtable *fdt, int fd) |
void | fd_release (int fd) |
int fdt_fd_new | ( | struct dfs_fdtable * | fdt | ) |
This function will allocate a file descriptor.
struct dfs_file* fdt_get_file | ( | struct dfs_fdtable * | fdt, |
int | fd | ||
) |
This function will return a file descriptor structure according to file descriptor.
void fd_release | ( | int | fd | ) |
This function will put the file descriptor.