35 lines
1.4 KiB
C
35 lines
1.4 KiB
C
#ifndef COSMOPOLITAN_LIBC_SYSV_CONSTS_CLOCK_H_
|
|
#define COSMOPOLITAN_LIBC_SYSV_CONSTS_CLOCK_H_
|
|
#include "libc/runtime/symbolic.h"
|
|
|
|
#define CLOCK_BOOTTIME SYMBOLIC(CLOCK_BOOTTIME)
|
|
#define CLOCK_BOOTTIME_ALARM SYMBOLIC(CLOCK_BOOTTIME_ALARM)
|
|
#define CLOCK_MONOTONIC SYMBOLIC(CLOCK_MONOTONIC)
|
|
#define CLOCK_MONOTONIC_COARSE SYMBOLIC(CLOCK_MONOTONIC_COARSE)
|
|
#define CLOCK_MONOTONIC_RAW SYMBOLIC(CLOCK_MONOTONIC_RAW)
|
|
#define CLOCK_PROCESS_CPUTIME_ID SYMBOLIC(CLOCK_PROCESS_CPUTIME_ID)
|
|
#define CLOCK_REALTIME SYMBOLIC(CLOCK_REALTIME)
|
|
#define CLOCK_REALTIME_ALARM SYMBOLIC(CLOCK_REALTIME_ALARM)
|
|
#define CLOCK_REALTIME_COARSE SYMBOLIC(CLOCK_REALTIME_COARSE)
|
|
#define CLOCK_TAI SYMBOLIC(CLOCK_TAI)
|
|
#define CLOCK_THREAD_CPUTIME_ID SYMBOLIC(CLOCK_THREAD_CPUTIME_ID)
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
COSMOPOLITAN_C_START_
|
|
|
|
hidden extern const long CLOCK_BOOTTIME;
|
|
hidden extern const long CLOCK_BOOTTIME_ALARM;
|
|
hidden extern const long CLOCK_MONOTONIC;
|
|
hidden extern const long CLOCK_MONOTONIC_COARSE;
|
|
hidden extern const long CLOCK_MONOTONIC_RAW;
|
|
hidden extern const long CLOCK_PROCESS_CPUTIME_ID;
|
|
hidden extern const long CLOCK_REALTIME;
|
|
hidden extern const long CLOCK_REALTIME_ALARM;
|
|
hidden extern const long CLOCK_REALTIME_COARSE;
|
|
hidden extern const long CLOCK_TAI;
|
|
hidden extern const long CLOCK_THREAD_CPUTIME_ID;
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_SYSV_CONSTS_CLOCK_H_ */
|