Guardian Programming Reference Summary for C
Functions Summary (R-Z)
Guardian Programming Reference Summary for C—522630-001
8-14
flags
SEGMENT_DEALLOCATE_CHKPT_
Is called by a primary process to deallocate an extended data segment in its backup
process.
This passive backup procedure is not supported in C programs. For a comparison of
active backup and passive backup, refer to the Guardian Programmer’s Guide.
SEGMENT_GETBACKUPINFO_
Retrieves information about an extended segment that is allocated by the backup process
in a named process pair.
(No C programming information given)
return value:
Bits 0-14 Reserved (specify 0)
Bit 15 = 1 Dirty pages in memory are not to be written to the swap file.
= 0 Dirty pages in memory are to be written to the swap file.
0=No error.
1 = Error occurred when attempting to obtain filename; error-detail
contains the file-system error number.
2 = 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.
3 = 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.
4 = The value of segment-id is out of range.
5 = The value of segment-id is in range but not allocated by caller.
6 = Information not obtained; error-detail contains the reason for failure.
segment-id input
segment-size output
filename:maxlen output:input
filename-len output
error-detail output
base-address output