Guardian Programming Reference Summary for C
SETMODE Operations
Guardian Programming Reference Summary for C—522630-001
11-16
72 Force system buffering for nowait files
param1
= 1 force use of intermediate buffer in PFS for read operations. (Nowait write
operations always require the data to remain unchanged until completion of the
information.)
= 0 allow the system to make transfers directly from user buffers.
The default value for files opened by FILE_OPEN_ is 0; for files opened by
OPEN it is 1.
The param2 parameter is not used, and the value should be zero, if supplied.
80 ($RECEIVE): Set system message modes
param1
Bits 0-12 should be zero.
Bit 13
= 0 disable reception of -38 messages (default).
= 1 enable reception of cancellation (-38) messages.
Bit 14
= 0 disallow reception of SETPARAM (-37) messages, returning error 2 to
processes attempting SETPARAM calls (default).
= 1 allow reception of SETPARAM (-37) messages.
Bit 15
= 0 disallow return of <last-param> values for SETMODE (-33) messages,
returning error 2 to processes attempting to obtain them (default).
= 1 allow <last-param> values to be returned for SETMODE (-33) messages.
The extended form of the -33 message will be delivered under this mode.
The param2 parameter is not used, and the value should be zero, if supplied.
90 Disk: Set buffered option defaults same as CREATE
param1
= 0 buffered
= 1 write-through
The param2 parameter is used with DP2 disk files only.
param2
= 0 change the open option setting of the buffered option (default).
= 1 change the file label default value of the buffered option.
This function operates only on Guardian objects. If an OSS file is specified, file-
system error 2 occurs.