Guardian Programming Reference Summary for C

Functions Summary (D-F)
Guardian Programming Reference Summary for C522630-001
5-21
FILE_CLOSE_CHKPT_
Is called by a primary process to close a designated file 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 Programmers Guide.
FILE_COMPLETE_
completes one previously initiated I/O operation for a Guardian file or returns ready
information for one Open System Services (OSS) file.
timelimit
FILE_COMPLETE_GETINFO_
Provides information about the set of files that are currently enabled for completion and
thus can be completed by the FILE_COMPLETE_ procedure. These files were enabled
for completion by one or more previous calls to the FILE_COMPLETE_SET_
procedure. The information returned includes a list that can contain both Guardian files
and Open System Services (OSS) files.
#include <cextdecs(FILE_COMPLETE_)>
short FILE_COMPLETE_
( short *completion-info /* o */
,[ long timelimit ] /* i */
,[ short *complete-element-list /* i */
,[ short num-complete-elements ] /* i */
,[ short *error-complete-element ] ); /* o */
>0D = Wait for completion. The timelimit parameter specifies the maximum
time (in 0.01-second units) from the time of the FILE_COMPLETE_ call
that the caller can wait for completion.
= 0D = Check for completion. FILE_COMPLETE_ immediately returns to the
caller, regardless of whether completion has occurred.
= -1D = Wait indefinitely.
< -1D = An invalid value (file-system error 590 occurs).
omitted = Wait indefinitely.
#include <cextdecs(FILE_COMPLETE_GETINFO_)>
short FILE_COMPLETE_GETINFO_
( short *info-list /* o */
,short maxnum-info-elements /* i */
,[ short *num-info-elements ] ); /* o */