1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:07:36 +00:00

LibC: Add settimeofday

This commit is contained in:
Nico Weber 2020-09-06 09:59:19 -04:00 committed by Andreas Kling
parent 0736ae4116
commit 0fff4e11a6
2 changed files with 8 additions and 0 deletions

View file

@ -43,6 +43,7 @@ struct timezone {
};
int gettimeofday(struct timeval* __restrict__, void* __restrict__) __attribute__((nonnull(1)));
int settimeofday(struct timeval* __restrict__, void* __restrict__) __attribute__((nonnull(1)));
static inline void timeradd(const struct timeval* a, const struct timeval* b, struct timeval* out)
{