Guardian Procedure Calls Reference Manual (G06.25+)
Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual—522629-013
14-66
SETMODE Procedure
SETMODE Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Condition Code Settings
SETMODE Functions
Considerations
Disk File Consideration
Interprocess Communication Considerations
Messages
Examples
Related Programming Manuals
Summary
The SETMODE procedure is used to set device-dependent functions.
A call to the SETMODE procedure is rejected with an error indication if incomplete
nowait operations are pending on the specified file.
Syntax for C Programmers
•
The function value returned by SETMODE, which indicates the condition code, can
be interpreted by
_status_lt(), _status_eq(), or _status_gt() (defined
in the file
tal.h).
#include <cextdecs(SETMODE)>
_cc_status SETMODE ( short filenum
,short function
,[ short param1
,[ short param2
,[ short _near *last-params );