Guardian Programming Reference Summary for C
Error Codes
Guardian Programming Reference Summary for C—522630-001
15-18
ALLOCATESEGMENT Error Codes
SEGMENT_ALLOCATE_ Error Codes
Code Description
0 No error
-1 Illegal segment ID
-2 Illegal segment size
-3 Bounds violation on swap file parameter
-4 Illegal combination of options
-5 Unable to allocate segment space
-6 Unable to allocate segment page table space
-7 Security violation
-8 PIN does not exist
-9 No segment allocated to PIN
-10 Trying to share segment with self
-11 Requested segment is currently being resized or is incompatible
Code Description
0 No error
1 Error creating or opening segment swap file
2 Parameter error
3 Bounds violation
4 Illegal segment ID
5 Illegal segment size
6 Unable to allocate segment space
7 Unable to allocate segment page table space
8 Security violation
9 PIN does not exist
10 No segment allocated to PIN
11 Trying to share segment with self
12 Requested shared segment is incompatible
13 Requested segment already allocated
14 Unable to allocate the PST
15 Requested address range already allocated