kern

diff src/klibc/time.h @ 37:2c401f69128e

finished with the klibc/time.c stuff
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 10 Jun 2011 19:54:47 +0300
parents e70b1ab9613e
children
line diff
     1.1 --- a/src/klibc/time.h	Fri Jun 10 05:33:38 2011 +0300
     1.2 +++ b/src/klibc/time.h	Fri Jun 10 19:54:47 2011 +0300
     1.3 @@ -15,8 +15,13 @@
     1.4  	int tm_isdst;
     1.5  };
     1.6  
     1.7 +time_t time(time_t *tp);
     1.8  char *asctime(struct tm *tm);
     1.9 +char *asctime_r(struct tm *tm, char *buf);
    1.10 +
    1.11  time_t mktime(struct tm *tm);
    1.12 +struct tm *gmtime(time_t *tp);
    1.13 +struct tm *gmtime_r(time_t *tp, struct tm *tm);
    1.14  
    1.15  /* non-standard helpers */
    1.16  int day_of_year(int year, int mon, int day);