Guardian Programming Reference Summary for C
Functions Summary (R-Z)
Guardian Programming Reference Summary for C—522630-001
8-5
READUPDATELOCK[X}
Locks, then reads the record from the current position in the file in the same manner as
the combination of LOCKREC and READUPDATE[X]. This procedure operates only
on Guardian objects.
RECEIVEINFO
(superseded by FILE_GETRECEIVEINFO_) Obtains the four-word process ID,
message tag, error recovery (sync ID), and request-related (file number, read count, and
I/O type) information associated with the last message read from the $RECEIVE file.
This procedure does not have a C syntax, because it is superseded and should not be
used for new development. This procedure is supported only for compatibility with
previous software.
_status_lt (<returned_value>) An error occurred (call FILEINFO).
_status_eq (<returned_value>) The READUPDATE[X] is successful.
_status_gt (<returned_value>) A system message is received through
$RECEIVE.
#include <cextdecs(READUPDATELOCK)>
_cc_status READUPDATELOCK ( short filenum /* i */
,short _near *buffer /* o */
,short read-count /* i */
,[ short *count-read ] /* o */
,[ long tag ] ); /* i */
#include <cextdecs(READUPDATELOCKX)>
_cc_status READUPDATELOCKX ( short filenum /* i */
,char *buffer /* o */
,short read-count /* i */
,[ short *count-read ] /* o */
,[ long tag ] ); /* i */
_status_lt (<returned_value>) An error occurred (call FILEINFO).
_status_eq (<returned_value>) The READUPDATELOCK[X] is successful.