#include <agnix/agnix.h>
#include <agnix/timer.h>
Include dependency graph for time.c:
Go to the source code of this file.
Functions | |
int | do_sys_time (int *secs) |
int | do_sys_stime (int *secs) |
|
Definition at line 27 of file time.c. References timer_settimeofday(). Referenced by SYS_CALL(). 00028 { 00029 struct timeval_s tv; 00030 00031 tv.tv_sec = *secs; 00032 timer_settimeofday(&tv); 00033 00034 return 0; 00035 }
Here is the call graph for this function: |
|
Definition at line 17 of file time.c. References timer_gettimeofday(). Referenced by SYS_CALL(). 00018 { 00019 struct timeval_s tv; 00020 00021 timer_gettimeofday(&tv); 00022 *secs = tv.tv_sec; 00023 00024 return tv.tv_sec; 00025 }
Here is the call graph for this function: |