Added sys_stime.c, T_CHILD_UTIME and T_CHILD_STIME are gone, should

change interface of sys_times.
This commit is contained in:
Philip Homburg
2007-08-07 12:04:29 +00:00
parent 1f02168ce7
commit 21e7edb683
3 changed files with 15 additions and 2 deletions

View File

@@ -12,8 +12,8 @@ clock_t ptr[5]; /* pointer to time buffer */
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);
}