blob: 8d7ddcf1beca6fd3ca98efa166183398194c78cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#include <time.h>
#include <unistd.h>
/* Get configurable system variables. */
long _sysconf(int name) {
switch (name) {
case _SC_CLK_TCK:
return CLOCKS_PER_SEC;
}
return -1;
}
extern __typeof(_sysconf) sysconf
__attribute__((__weak__, __alias__("_sysconf")));
|