Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 8219eb9 in mainline for uspace/lib/c/include/sys/time.h


Ignore:
Timestamp:
2012-04-23T22:14:32Z (10 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial
Children:
f6cb995
Parents:
5b3394c
Message:

libc: move asctime() from libposix to libc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/sys/time.h

    r5b3394c r8219eb9  
    4141
    4242#define DST_NONE 0
     43#define ASCTIME_BUF_LEN 26
    4344
    4445typedef long time_t;
     
    8081extern time_t mktime(struct tm *tm);
    8182extern struct tm *gmtime(const time_t *timer);
     83extern char *asctime(const struct tm *timeptr);
    8284extern size_t strftime(char *restrict s, size_t maxsize,
    8385    const char *restrict format, const struct tm *restrict tm);
Note: See TracChangeset for help on using the changeset viewer.