rustix::fs

Function fcntl_getfl

Source
pub fn fcntl_getfl<Fd: AsFd>(fd: Fd) -> Result<OFlags>
Available on crate feature fs only.
Expand description

fcntl(fd, F_GETFL)—Returns a file descriptor’s access mode and status.

§References