Skip to content

CallPort

Call() that stores the reply length and any granted handle.

Library helper

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

Err CallPort(Handle port, uint32_t xlen, Handle grant_handle, uint32_t *reply_len, Handle *reply_grant);

Parameters

Name Direction Description
port in Port handle with PERM_SEND.
xlen in Request length in bytes.
grant_handle in Handle to copy to the server, or -1.
reply_len out Receives the reply length; may be NULL.
reply_grant out Receives a handle granted back, or -1; may be NULL.

Returns

As Call().