Changeset 5b3394c in mainline for uspace/lib/posix/time.c


Ignore:
Timestamp:
2012-04-23T21:54:49Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8219eb9
Parents:
c2b0e10
Message:

libc: move gmtime() from libposix to libc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/time.c

    rc2b0e10 r5b3394c  
    324324/**
    325325 * Converts a time value to a broken-down UTC time.
    326  *
    327  * @param timer Time to convert.
    328  * @return Normalized broken-down time in UTC, NULL on overflow.
    329  */
    330 struct tm *posix_gmtime(const time_t *timer)
    331 {
    332         assert(timer != NULL);
    333 
    334         static struct tm result;
    335         return posix_gmtime_r(timer, &result);
    336 }
    337 
    338 /**
    339  * Converts a time value to a broken-down UTC time.
    340326 *
    341327 * @param timer Time to convert.
Note: See TracChangeset for help on using the changeset viewer.