Envoy Application Programming Manual

Table Of Contents
File-System Procedures
Envoy Application Programming Manual427159-001
C-31
SETMODENOWAIT
SETMODENOWAIT
The SETMODENOWAIT procedure is identical to the SETMODE procedure, except
that it is performed as a nowait operation and therefore includes the optional tag
parameter. If you wish to use SETMODENOWAIT, the line must be opened for nowait
I/O and you must logically complete the SETMODENOWAIT operation with a
subsequent AWAITIO call.
Note that if the line is opened for nowait I/O, you may use either SETMODE or
SETMODENOWAIT.
The form of the SETMODENOWAIT procedure is:
filenum input
INT:value
is the number returned by the OPEN call that opened the line. In a
SETMODENOWAIT call, you supply this variable to Envoy.
function input
INT:value
is an integer value you use to specify the desired SETMODENOWAIT function to
Envoy. The SETMODENOWAIT codes are the same as those summarized in
Table C-5 on page C-27.
parameter-1 input
INT:value
is a subcode you use, in conjunction with the function value, to further define the
desired mode setting operation. The SETMODENOWAIT codes are the same as
those shown in Table C-5 on page C-27.
parameter-2 input
INT:value
is a subcode you use, in conjunction with the function value, to further define the
desired mode setting operation. The SETMODENOWAIT codes are the same as
those shown in Table C-5 on page C-27.
CALL SETMODENOWAIT ( filenum !i
, function !i
,[parameter-1] !i
,[parameter-2] !i
,[last-params] !o
,[tag]); !i
Note. The function codes and parameter settings may have different meanings for
different protocols.