1 #include <sys/times.h> 2 #include "syscall.h" 3 times(struct tms *tms)4 clock_t times(struct tms *tms) 5 { 6 #ifdef __LITEOS_A__ 7 return syscall(SYS_times, tms); 8 #else 9 return __syscall(SYS_times, tms); 10 #endif 11 } 12