pub fn fcntl_getfl<Fd: AsFd>(fd: Fd) -> Result<OFlags>
fs
fcntl(fd, F_GETFL)—Returns a file descriptor’s access mode and status.
fcntl(fd, F_GETFL)