change interface of sys_times.
sys_privctl.c \
sys_setgrant.c \
sys_sprof.c \
+ sys_stime.c \
sys_times.c \
sys_trace.c \
sys_umap.c \
--- /dev/null
+#include "syslib.h"
+
+PUBLIC int sys_stime(boottime)
+time_t boottime; /* New boottime */
+{
+ message m;
+ int r;
+
+ m.T_BOOTTIME = boottime;
+ r = _taskcall(SYSTASK, SYS_STIME, &m);
+ return(r);
+}
r = _taskcall(SYSTASK, SYS_TIMES, &m);
ptr[0] = m.T_USER_TIME;
ptr[1] = m.T_SYSTEM_TIME;
- ptr[2] = m.T_CHILD_UTIME;
- ptr[3] = m.T_CHILD_STIME;
+ ptr[2] = 0;
+ ptr[3] = 0;
ptr[4] = m.T_BOOT_TICKS;
return(r);
}