Skip to content

Commit

Permalink
Kernel & LibC: Add CLOCK_REALTIME constant
Browse files Browse the repository at this point in the history
  • Loading branch information
supercomputer7 authored and awesomekling committed Mar 19, 2020
1 parent 53d6fe8 commit 5d90e9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions Kernel/UnixTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -466,6 +466,7 @@ typedef enum {

typedef int clockid_t;

#define CLOCK_REALTIME 0
#define CLOCK_MONOTONIC 1
#define TIMER_ABSTIME 99

Expand Down
1 change: 1 addition & 0 deletions Libraries/LibC/time.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ struct timespec {

typedef int clockid_t;

#define CLOCK_REALTIME 0
#define CLOCK_MONOTONIC 1
#define TIMER_ABSTIME 99

Expand Down

0 comments on commit 5d90e9c

Please sign in to comment.