source: trunk/minix/lib/ansi/clock.c@ 12

Last change on this file since 12 was 9, checked in by Mattia Monga, 14 years ago

Minix 3.1.2a

File size: 195 bytes
Line 
1/*
2 * clock - determine the processor time used
3 */
4
5#define times _times
6#include <time.h>
7#include <sys/times.h>
8
9clock_t clock(void)
10{
11 struct tms tms;
12
13 times(&tms);
14 return tms.tms_utime;
15}
Note: See TracBrowser for help on using the repository browser.