setFdflags(_:fdflags:)¶
Sets the fdflags for a file descriptor.
Declaration
func setFdflags(
_ id: Int32,
fdflags: UInt16
) -> Bool
Parameters
id: The WASI file descriptor.
fdflags: The new fdflags value.
Returns
false if the file descriptor is not opened. true otherwise.