Guardian Procedure Calls Reference Manual
Syntax for TAL Programmers
CALL SETMODENOWAIT ( filenum ! i
,function ! i
,[ param1 ] ! i
,[ param2 ] ! i
,[ last-params ] ! o
,[ tag ] ); ! i
Parameters
filenum
input
INT:value
is a number of an open file, identifying the file to receive the SETMODENOWAIT function.
function
input
INT:value
is one of the device-dependent functions listed in Table 44 (page 1319) for the SETMODE
procedure.
param1
input
INT:value
is one of the param1 values listed in Table 44 (page 1319) for the SETMODE procedure. If
omitted for a disk file, the present value is retained. For SETMODEs on other devices, this value
depends on the device and the value supplied in the function parameter.
param2
input
INT:value
is one of the param2 values listed in Table 44 (page 1319) for the SETMODE procedure. If
omitted for a disk file, the present value is retained. For SETMODEs on other devices, this value
depends on the device and the value supplied in the function parameter.
last-params
output
INT:ref:2
returns the previous settings of param1 and param2 associated with the current function. The
format is:
last-params[0] = old param1
last-params[1] = old param2 (if applicable)
tag
input
INT(32):value
is for nowait I/O only. tag is a value you define that uniquely identifies the operation associated
with this SETMODENOWAIT.
NOTE: The system stores the tag value until the I/O operation completes. The system then
returns the tag information to the program in the tag parameter of the call to AWAITIO[X],
thus indicating that the operation completed.
1346 Guardian Procedure Calls (S)