fdFdStatGet

fnErrno fdFdStatGet(Fd fd, FdStat * fdStat) extern(C) nothrow @nogc @wasi @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.