Guardian Programming Reference Summary for C
Functions Summary (R-Z)
Guardian Programming Reference Summary for C—522630-001
8-18
SETLOOPTIMER
Aborts the caller if the caller begins looping (malfunctioning), and permits the caller to
calculate the amount of processor time it has used.
SETMODE
Sets device-dependent functions.
#include <cextdecs(SETLOOPTIMER)>
_cc_status SETLOOPTIMER ( short new-time-limit /* i */
,[ short _near *old-time-limit ] );/* o */
_status_lt (<returned_value>) The new-time-limit parameter is omitted
or is specified as a negative value. The state of
process loop timing and the setting of the
process’s loop timer are unchanged.
_status_eq (<returned_value>) The new-time-limit value is set into the
process’s loop timer and that loop timing is
enabled.
#include <cextdecs(SETMODE)>
_cc_status SETMODE ( short filenum /* i */
,short function /* i */
,[ short param1 /* i */
,[ short param2 /* i */
,[ short _near *last-params );/* o */
_status_lt (<returned_value>) An error occurred (call FILEINFO).
_status_eq (<returned_value>) The SETMODE is successful.
_status_gt (<returned_value>) The SETMODE function is not allowed for
this device type.