summaryrefslogtreecommitdiff
path: root/code/fe310/gloss/sys_sysconf.c
blob: 452a252ae9c74c4966de1d372b938d1499250c0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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;
}