Guardian Procedure Calls Reference Manual (G06.25+)

Guardian Procedure Calls (S)
Guardian Procedure Calls Reference Manual522629-013
14-119
SETSYSTEMCLOCK Procedure
SETSYSTEMCLOCK Procedure
Summary
Syntax for C Programmers
Syntax for TAL Programmers
Parameters
Automatically Adjusting the Clock Using Modes 0,1,2,3,6
Setting the Clock Using Modes 5 and 7
Stopping Clock Adjustment
Types of Timestamps
Condition Code Settings
Timing and Processes
System Clock System Message
Example
Related Programming Manual
Summary
The SETSYSTEMCLOCK procedure allows you to change the system clock if you are
a member of the super group.
Syntax for C Programmers
The function value returned by SETSYSTEMCLOCK, which indicates the condition
code, can be interpreted by
_status_lt(), _status_eq(), or _status_gt()
(defined in the file
tal.h).
Syntax for TAL Programmers
#include <cextdecs(SETSYSTEMCLOCK)>
_cc_status SETSYSTEMCLOCK ( long long julian-gmt
,short mode
,short tuid );
CALL SETSYSTEMCLOCK ( julian-gmt ! i
,mode ! i
,[ tuid ] ); ! i