diff options
author | dzwdz | 2023-06-02 15:25:11 +0200 |
---|---|---|
committer | dzwdz | 2023-06-02 15:25:11 +0200 |
commit | 8fd4943b2721696f86783d22dd2e8d593a22a766 (patch) | |
tree | 2e2e664605571a07688021339a6be0f395bc62c2 /src/user/lib/include/time.h | |
parent | 51c39c73692e755596eafb0d6f732581fee3ba98 (diff) |
libc: stub out sltar's requirements
Diffstat (limited to 'src/user/lib/include/time.h')
-rw-r--r-- | src/user/lib/include/time.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/user/lib/include/time.h b/src/user/lib/include/time.h index 067c35f..5d03664 100644 --- a/src/user/lib/include/time.h +++ b/src/user/lib/include/time.h @@ -15,6 +15,11 @@ struct tm { int tm_isdst; /* Daylight Savings flag. */ }; +struct timespec { + time_t tv_sec; + long long tv_nsec; +}; + time_t time(time_t *tloc); clock_t clock(void); |