Guardian Programming Reference Summary for C
Functions Summary (R-Z)
Guardian Programming Reference Summary for C—522630-001
8-9
error-return
REPOSITION
(superseded by FILE_RESTOREPOSITION_) Positions a disk file to a saved position.
(The positioning information was saved by a call to the SAVEPOSITION procedure.)
RESETSYNC
Is used by the backup process of a process pair after a failure of the primary process.
RESETSYNC resynchronizes any open files whose file sychronization blocks are not
checkpointed after the most recent stack checkpoint, and clears a process pair’s file
synchronization block.
_status_lt (<returned_value>) An error occurred (call FILE_GETINFO_ or
FILEINFO).
_status_eq (<returned_value>) The REPLY[X] is successful.
_status_gt (<returned_value>) A warning occurred (call FILE_GETINFO_ or
FILEINFO).
File System Error Condition Code Setting
0 CCE (no error)
1-9 CCG (warning)
10-32767 CCL (error)
#include <cextdecs(REPOSITION)>
_cc_status REPOSITION ( short filenum /* i */
,short _near *positioning-block ); /* i */
_status_lt (<returned_value>) An error occurred (call FILE_GETINFO_ or
FILEINFO).
_status_eq (<returned_value>) REPOSITION is successful.
_status_gt (<returned_value>) The file is not a disk file.
#include <cextdecs(RESETSYNC)>
_cc_status RESETSYNC ( short filenum ); /* i */