mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-19 12:59:21 +08:00
18 lines
232 B
C
18 lines
232 B
C
#include <machine/syscall.h>
|
|
#include <unistd.h>
|
|
#include <time.h>
|
|
|
|
/* Get configurable system variables. */
|
|
|
|
long
|
|
_sysconf(int name)
|
|
{
|
|
switch (name)
|
|
{
|
|
case _SC_CLK_TCK:
|
|
return CLOCKS_PER_SEC;
|
|
}
|
|
|
|
return -1;
|
|
}
|