Skip to content

HandleGrantTo

HandleGrant() that stores the target's handle value in out.

Library helper

Implemented in zuzu.h on top of the syscalls; it has no syscall number of its own.

Err HandleGrantTo(Handle h, Handle target_space_handle, HandlePerms perms, Handle *out);

Parameters

Name Direction Description
h in Handle to grant.
target_space_handle in Space to receive it, with PERM_CNTL.
perms in Permissions for the copy.
out out Receives the handle's value in the target; may be NULL.

Returns

As HandleGrant().