SEGMENT_STATUS
Purpose
segment_status returns the status of
a memory segment.
Synopsis
#include <types.h>
#include <stub.h>
int segment_status(Capability
*segment, Segment_Status *status);
Parameters
-
segment: the capability for the
segment;
-
status: the current segment status.
Description
segment_status returns the status of
the memory segment designated by segment.
Return Values
On success, segment_status returns
0 and status contains information about the current segment status.
On fail, segment_status returns a negative
value indicating one of the following errors:
See Also
segment_create,
segment_destroy, segment_attach,
segment_detach, segment_resize