[Libc][Minilibc] Add some function declaration to time.h .

This commit is contained in:
armink 2018-02-16 20:48:37 +08:00
parent 0c4922becb
commit 9c620cb2f1
1 changed files with 10 additions and 0 deletions

View File

@ -3,4 +3,14 @@
#include <sys/time.h>
time_t mktime(struct tm * const t);
char *asctime(const struct tm *timeptr);
char *ctime(const time_t *timep);
struct tm* localtime(const time_t* t);
char *asctime_r(const struct tm *t, char *buf);
struct tm *gmtime_r(const time_t *timep, struct tm *r);
struct tm* localtime_r(const time_t* t, struct tm* r);
#endif