diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-06-13 14:41:52 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-06-13 14:41:52 -0400 |
commit | 23be72ae4534c13a7fd03f580934cc251ada619f (patch) | |
tree | 97ceb660ce5d0e0dbc834cbaa48dc48f157bf127 /include/time.h | |
parent | 2169265ec6c902cd460bf96a1a0b5103657a4954 (diff) | |
download | musl-23be72ae4534c13a7fd03f580934cc251ada619f.tar.gz musl-23be72ae4534c13a7fd03f580934cc251ada619f.tar.bz2 musl-23be72ae4534c13a7fd03f580934cc251ada619f.tar.xz musl-23be72ae4534c13a7fd03f580934cc251ada619f.zip |
add timegm function (inverse of gmtime), nonstandard
Diffstat (limited to 'include/time.h')
-rw-r--r-- | include/time.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/time.h b/include/time.h index 067b5196..ecdc66df 100644 --- a/include/time.h +++ b/include/time.h @@ -114,6 +114,9 @@ struct tm *getdate (const char *); int stime(time_t *); #endif +#if defined(_GNU_SOURCE) +time_t timegm(struct tm *); +#endif #ifdef __cplusplus } |