pub unsafe extern "C" fn socketSetFlags(
fd: i32,
mask: u32,
value: u32,
) -> i32Expand description
Change flags on a socket. The mask determines which flags are set.
If this function is called within a subjectiveCheckout, it will only take effect if the top-level commit succeeds. If another context changes the flags, subjectiveCommit may fail.
Returns 0 on success or an error code on failure.
Errors:
EBADF: fd is not a valid file descriptorENOTSUP: The socket does not support the requested flagsENOTSOCK: fd is not a socketEACCES: The socket is owned by another context