mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-01 08:48:29 +00:00
Initial import
This commit is contained in:
commit
c91b3c5006
14915 changed files with 590219 additions and 0 deletions
34
libc/sysv/consts/clock.h
Normal file
34
libc/sysv/consts/clock.h
Normal file
|
@ -0,0 +1,34 @@
|
|||
#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_ */
|
Loading…
Add table
Add a link
Reference in a new issue