fdFdStatGet

fnErrno fdFdStatGet(Fd fd, FdStat * fdStat) @importName("fd_fdstat_get")

Get the attributes of a file descriptor.

Note

This returns similar flags to fcntl(fd, F_GETFL) in POSIX, as well as additional fields.