Retrieves the file access mode and file status flags of a file descriptor.
fn fcntl_getfl(fd: i32) -> i32
| Name | Description |
|---|---|
| fd | The file descriptor to inspect. |
Returns the file access mode and file status flags or an error value.
fcntl(2) and F_GETFL therein