source: trunk/libs/newlib/src/libgloss/riscv/sys_sysconf.c @ 672

Last change on this file since 672 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 232 bytes
Line 
1#include <machine/syscall.h>
2#include <unistd.h>
3#include <time.h>
4
5/* Get configurable system variables.  */
6
7long
8_sysconf(int name)
9{
10  switch (name)
11    {
12    case _SC_CLK_TCK:
13      return CLOCKS_PER_SEC;
14    }
15
16  return -1;
17}
Note: See TracBrowser for help on using the repository browser.