projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
make pthread_create return EAGAIN on resource failure, as required by POSIX
[oweals/musl.git]
/
src
/
time
/
clock.c
1
#include <time.h>
2
#include <sys/times.h>
3
4
/* this function assumes 100 hz linux and corrects for it */
5
clock_t clock()
6
{
7
struct tms tms;
8
return (unsigned long)times(&tms)*10000;
9
}