fdFdStatSetRights
fn
Errno fdFdStatSetRights(Fd fd, Rights rightsBase, Rights rightsInheriting) extern(C) nothrow @nogc @wasi @importName("fd_fdstat_set_rights")Adjust the rights associated with a file descriptor. This can only be used to remove rights, and returns errno::notcapable if called in a way that would attempt to add rights.