diff options
| author | Meco Man <[email protected]> | 2021-02-11 09:45:49 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-02-11 09:45:49 -0600 |
| commit | f0805a7973ffe62e459da7748cbada62bccf98b9 (patch) | |
| tree | 9150992340323657482d81a2bedd9497e9d429ab /components/libc/compilers/common/sys/time.h | |
| parent | 852d7d7552bd3fe898115ea16ba401970b0d1fad (diff) | |
| parent | a4dd106d49667aed3ca5e7a7fa3ef8f650070f45 (diff) | |
Merge pull request #16 from RT-Thread/master
pr
Diffstat (limited to 'components/libc/compilers/common/sys/time.h')
| -rw-r--r-- | components/libc/compilers/common/sys/time.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/components/libc/compilers/common/sys/time.h b/components/libc/compilers/common/sys/time.h index e99fd7d54f..599b8b5262 100644 --- a/components/libc/compilers/common/sys/time.h +++ b/components/libc/compilers/common/sys/time.h @@ -48,8 +48,10 @@ struct timezone { int tz_dsttime; /* type of dst correction */ }; -int gettimeofday(struct timeval *tp, struct timezone *tz); +int stime(const time_t *t); time_t timegm(struct tm * const t); +int gettimeofday(struct timeval *tv, struct timezone *tz); +int settimeofday(const struct timeval *tv, const struct timezone *tz); #ifdef __cplusplus } |
