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

Last change on this file since 485 was 444, checked in by satin@…, 7 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.