OS filesystem utility functions. More...
Functions | |
uint64_t | spdk_fd_get_size (int fd) |
Get the file size. | |
uint32_t | spdk_fd_get_blocklen (int fd) |
Get the block size of the file. | |
int | spdk_fd_set_nonblock (int fd) |
Set O_NONBLOCK file status flag. | |
int | spdk_fd_clear_nonblock (int fd) |
Clear O_NONBLOCK file status flag. | |
OS filesystem utility functions.
int spdk_fd_clear_nonblock | ( | int | fd | ) |
Clear O_NONBLOCK file status flag.
fd | File descriptor. |
uint32_t spdk_fd_get_blocklen | ( | int | fd | ) |
Get the block size of the file.
fd | File descriptor. |
uint64_t spdk_fd_get_size | ( | int | fd | ) |
Get the file size.
fd | File descriptor. |
int spdk_fd_set_nonblock | ( | int | fd | ) |
Set O_NONBLOCK file status flag.
fd | File descriptor. |