mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 17:44:56 +09:00
Kernel & LibC: Add CLOCK_REALTIME constant
This commit is contained in:
parent
53d6fe8141
commit
5d90e9cfb8
Notes:
sideshowbarker
2024-07-19 08:14:34 +09:00
Author: https://github.com/supercomputer7
Commit: 5d90e9cfb8
Pull-request: https://github.com/SerenityOS/serenity/pull/1396
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/shannonbooth ✅
2 changed files with 2 additions and 0 deletions
|
@ -466,6 +466,7 @@ typedef enum {
|
||||||
|
|
||||||
typedef int clockid_t;
|
typedef int clockid_t;
|
||||||
|
|
||||||
|
#define CLOCK_REALTIME 0
|
||||||
#define CLOCK_MONOTONIC 1
|
#define CLOCK_MONOTONIC 1
|
||||||
#define TIMER_ABSTIME 99
|
#define TIMER_ABSTIME 99
|
||||||
|
|
||||||
|
|
|
@ -69,6 +69,7 @@ struct timespec {
|
||||||
|
|
||||||
typedef int clockid_t;
|
typedef int clockid_t;
|
||||||
|
|
||||||
|
#define CLOCK_REALTIME 0
|
||||||
#define CLOCK_MONOTONIC 1
|
#define CLOCK_MONOTONIC 1
|
||||||
#define TIMER_ABSTIME 99
|
#define TIMER_ABSTIME 99
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue