Fanuc C-Executer Operating Manual
B-62443EN-3/03E
- 803 -
------------------------------------------------------------------------------
2. Set timer <Main,Alarm,Comm>
------------------------------------------------------------------------------
[Name]
os_set_tim
[Syntax]
#include <oscall.h>
void os_set_tim( unsigned long new_timer_value,
unsigned long *old_timer_value ) ;
[Argument]
new_timer_value new timer value
old_timer_value old timer value
[Return]
------
[Description]
This function sets the specified value to the timer.
The timer set by this function is the local timer dedicated for the
calling task.
The contents of the timer read by this function does not always agree
with the actual passage of time. To read the time of day, use clock()
function which is more accurate.