api
sys_time.ch
Declarations in sys_time.ch
2 declarationscstd
Declarations
Public only
timeval#
Publicstruct
struct timeval {
var tv_sec : long
var tv_usec : long
}
@struct timeval
@brief Time value with second and microsecond resolution.
gettimeofday#
Publicfunction
func gettimeofday(tv : *timeval, tz : *void) : int
@brief Get current time of day.
Parameters
- tv Pointer to timeval struct to fill. @param tz Unused; should be NULL. @return 0 on success, –1 on error.
- tz Unused; should be NULL. @return 0 on success, –1 on error.
Returns
0 on success, –1 on error.