[][src]Function wasi::wasi_snapshot_preview1::fd_fdstat_set_rights

pub unsafe extern "C" fn fd_fdstat_set_rights(
    fd: Fd,
    fs_rights_base: Rights,
    fs_rights_inheriting: Rights
) -> Errno

Adjust the rights associated with a file descriptor. This can only be used to remove rights, and returns ENOTCAPABLE if called in a way that would attempt to add rights