Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual—522629-013
14-104
SETMODENOWAIT Procedure
SETMODENOWAIT Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
Considerations
Example
Related Programming Manuals
Summary
The SETMODENOWAIT procedure is used to set device-dependent functions in a
nowait manner on nowait files.
Whereas the SETMODE procedure is a waited operation and suspends the caller while
waiting for a request to complete, the SETMODENOWAIT procedure returns to the
caller after initiating a request. A call to SETMODENOWAIT completes in a call to
AWAITIO[X]. The
count-transferred parameter to AWAITIO[X] has no meaning
for SETMODENOWAIT completions. The
buffer-addr parameter is set to the
address of
last-params parameter of SETMODENOWAIT.
Syntax for C Programmers
•
CEXTDECS (via the included file TNSINTH) defines 32-bit values as the typedef
__int32_t which for TNS and TNS/R compiles is defined as
long and for TNS/E
compiles is defined as
int.
•
The function value returned by SETMODENOWAIT, which indicates the condition
code, can be interpreted by
_status_lt(), _status_eq(), or _status_gt()
(defined in the file
tal.h).
#include <cextdecs(SETMODENOWAIT)>
_cc_status SETMODENOWAIT ( short filenum
,short function
,[ short param1 ]
,[ short param2 ]
,[ short _near *last-params ]
,[ __int32_t tag ] );