Guardian Procedure Calls Reference Manual
Returned Value
INT
Outcome of the operation:
SEGMENT_OK0
No error.
SEGMENT_FILE_ERROR1
Error occurred when attempting to obtain filename; error-detail contains the file-system error number.
SEGMENT_PARAMETER2
Parameter error; error-detail contains the number of the first parameter found to be in error, where 1
designates the first parameter on the left, and filename and maxlen are counted together as parameter
number 3.
SEGMENT_BOUNDS3
Bounds error; error-detail contains the number of the first parameter found to be in error, where 1
designates the first parameter on the left, and filename and maxlen are counted together as parameter
number 3. Bounds error is no longer reported beginning with RVUs H06.20 and J06.09.
SEGMENT_NOTFOUND5
segment-id is in range but not allocated by caller.
Considerations
See the SEGMENT_ALLOCATE[64]_ procedure Considerations (page 1268).
Example
error := SEGMENT_GETINFO_ ( segment^id, seg^size,
swap^file:maxLen, length );
Related Programming Manual
For programming information about the SEGMENT_GETINFO[64]_ procedures, see the Guardian
Programmer's Guide.
1290 Guardian Procedure Calls (S)