9os

Experimental kernel using plan9 ideas for embedded device
git clone git://git.simple-cc.org/9os
Log | Files | Refs | README | LICENSE

ctime.c (97B)


      1 #include <time.h>
      2 #undef ctime
      3 
      4 char *
      5 ctime(const time_t *t)
      6 {
      7 	return asctime(localtime(t));
      8 }