|
RT-Thread RTOS
1.0.0
An open source embedded real-time operating system
|
Functions | |
| int | fd_new (void) |
| struct dfs_fd * | fd_get (int fd) |
| void | fd_put (struct dfs_fd *fd) |
| int | fd_is_open (const char *pathname) |
| int fd_new | ( | void | ) |
This function will allocate a file descriptor.
| struct dfs_fd* fd_get | ( | int | fd | ) | [read] |
This function will return a file descriptor structure according to file descriptor.
| void fd_put | ( | struct dfs_fd * | fd | ) |
This function will put the file descriptor.
| int fd_is_open | ( | const char * | pathname | ) |
This function will return whether this file has been opend.
| pathname | the file path name. |