[−][src]Function wasi::fd_fdstat_set_flags
pub unsafe fn fd_fdstat_set_flags(fd: Fd, flags: Fdflags) -> Result<()>
Adjust the flags associated with a file descriptor.
Note: This is similar to fcntl(fd, F_SETFL, flags)
in POSIX.
Parameters
flags
- The desired values of the file descriptor flags.