MAILBOX_STATUS
Purpose
mailbox_status returns the status of
a mailbox.
Synopsis
#include <types.h>
#include <stub.h>
int mailbox_status(Capability
*mailbox, Mailbox_Status *status);
Parameters
-
mailbox: a capability for the mailbox;
-
status: the current mailbox status.
Description
mailbox_status returns the status of
the mailbox designated by mailbox.
Return Values
On success, mailbox_status returns
0 and status contains information about the current mailbox status.
On fail, mailbox_status returns a negative
value indicating one of the following errors:
See Also
mailbox_create,
mailbox_destroy, act,
send, receive