Welcome to mirror list, hosted at ThFree Co, Russian Federation.

sys_sysconf.c « riscv « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dffdebab906ccd203f60312773eb0de4623b9e54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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;
}