Function wasi::fd_fdstat_get
source · [−]Expand description
Get the attributes of a file descriptor.
Note: This returns similar flags to fsync(fd, F_GETFL)
in POSIX, as well as additional fields.
Return
The buffer where the file descriptor’s attributes are stored.