Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (G)
Guardian Procedure Calls Reference Manual522629-013
6-25
GETSYNCINFO Procedure
(Superseded by FILE_GETSYNCINFO_ Procedure)
GETSYNCINFO Procedure
(Superseded by FILE_GETSYNCINFO_
Procedure)
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Considerations
Example
Summary
The GETSYNCINFO procedure is called by the primary process of a process pair
before starting a series of write operations to a file open with paired access.
GETSYNCINFO returns a file’s synchronization block so that it can be sent to the
backup process in a checkpoint message.
Syntax for C Programmers
The function value returned by GETSYNCINFO, which indicates the condition
code, can be interpreted by
_status_lt(), _status_eq(), or _status_gt()
(defined in the file
tal.h).
Syntax for TAL Programmers
Note. Typically, GETSYNCINFO is not called directly by application programs. Instead, it is
called indirectly by CHECKPOINT.
#include <cextdecs(GETSYNCINFO)>
_cc_status GETSYNCINFO ( short filenum
,[ short _near *sync-block ]
,[ short _near *sync-block-size ] );
CALL GETSYNCINFO ( filenum ! i
,[ sync-block ] ! o
,[ sync-block-size ] ); ! o