Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (F)
Guardian Procedure Calls Reference Manual522629-013
5-110
FILE_GETSYNCINFO_ Procedure
FILE_GETSYNCINFO_ Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Considerations
Summary
The FILE_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.
FILE_GETSYNCINFO_ returns a file’s synchronization block so that it can be sent to
the backup process in a checkpoint message.The FILE_GETSYNCINFO_ procedure
supersedes the GETSYNCINFO Procedure (Superseded by FILE_GETSYNCINFO_
Procedure). Unlike the GETSYNCINFO procedure, this procedure can be used with
Format 2 files as well as with other files.
Syntax for C Programmers
Syntax for TAL Programmers
Note. Typically, FILE_GETSYNCINFO_ is not called directly by application programs.
Instead, it is called indirectly by CHECKPOINT.
#include <cextdecs(FILE_GETSYNCINFO_)>
short FILE_GETSYNCINFO_ ( short filenum
, short * infobuf
, short infosize );
error := FILE_GETSYNCINFO_ ( filenum ! i
,infobuf ! o
,infomax ! i
,infosize ); ! o