@CHIP-RTOS C Library - RTOS API
Set number of seconds elapsed since 00:00:00 January 1 1970
int RTX_stime(time_t far *t);
- Pointer to time_t (see standard library) variable that
holds the designated timestamp.
- This function is faster than the standard library's stime function and
even the RTX_Set_TimeDate
function, because it avoids several conversions of the timestamp.
This function requires around 30 microseconds execution time, assuming
that no interrupts were serviced in the meantime.
This API may be called from within any form of Interrupt Service
routine, although due to its rather long execution time this may not be
a good idea.
Inside this API the interrupts are masked for short periods of time and
then restored to the their masking state on entry.
- This library function invokes a RTOS software interrupt
to install a dynamic link into the RTOS.
Refer to this RTOS API function's
for more details.
- RTX API Overview
Supported since or modified in @CHIP-RTOS version
Supported by @CHIP-RTOS C Library since version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document