Guardian Programming Reference Summary for C

Functions Summary (D-F)
Guardian Programming Reference Summary for C522630-001
5-37
FILE_SETPOSITION_
The FILE_SETPOSITION_ procedure supersedes the POSITION procedure. This
procedure has the same function as the POSITION procedure but the
FILE_SETPOSITION_ procedure accepts an 8-byte record specifier, enabling use with
format 2 files.
FILE_SETSYNCINFO_
The FILE_SETSYNCINFO_ procedure supersedes the SETSYNCINFO procedure and
is used by the backup process of a process pair after a failure of the primary process.
The FILE_SETSYNCINFO_ procedure passes a process pairs latest synchronization
block (received in a checkpoint message from the primary) to the file system. Unlike the
SETSYNCINFO procedure, the FILE_SETSYNCINFO_ procedure can be used with
format 2 files.
FILEERROR
Determines whether an I/O operation that completed with an error should be retried.
status
#include <cextdecs(FILE_SETPOSITION_)>
short FILE_SETPOSITION_ ( short filenum /* i */
, long long recordspecifier );/* i */
#include <cextdecs(FILE_SETSYNCINFO_)>
short FILE_SETSYNCINFO_ ( short filenum /* i */
, short * infobuf /* i */
, short infosize ); /* i */
#include <cextdecs(FILEERROR)>
short FILEERROR ( short filenum ); /* i */
0 = The operation should not be retried.
1 = The operation should be retried.