File: hasclockgettime.h0

package info (click to toggle)
bglibs 2.04%2Bdfsg-8
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,468 kB
  • sloc: ansic: 15,821; perl: 674; sh: 63; makefile: 29
file content (10 lines) | stat: -rw-r--r-- 253 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
/* sysdep: -clock_gettime */
#undef HASCLOCKGETTIME

typedef int clockid_t;
#define CLOCK_REALTIME 1
#define CLOCK_MONOTONIC 2
#define CLOCK_PROESS_CPUTIME_ID 3
#define CLOCK_THREAD_PUTIME_ID 4

int clock_getres(clockid_t clk_id, struct timespec *res);