CallPortTimeout¶
CallTimeout() 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 CallPortTimeout(Handle port, uint32_t xlen, Handle grant_handle, Duration timeout, 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. |
timeout |
in | Milliseconds to wait for the reply, or TIMEOUT_INFINITE. |
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 CallTimeout().