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


Ignore:
Timestamp:
2012-04-22T14:46:41Z (13 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
4cade47
Parents:
86e81a9
Message:

libc: move the tm struct from libposix to libc

File:
1 edited

Legend:

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

    r86e81a9 rf8b6d34c  
    11/*
    22 * Copyright (c) 2006 Ondrej Palkovsky
     3 * Copyright (c) 2011 Petr Koupy
     4 * Copyright (c) 2011 Jiri Zarevucky
    35 * All rights reserved.
    46 *
     
    4749
    4850struct tm {
    49         int tm_sec;       /* 0 - 59 */
    50         int tm_min;       /* 0 - 59 */
    51         int tm_hour;      /* 0 - 23 */
    52         int tm_mday;      /* 1 - 31 */
    53         int tm_mon;       /* 0 - 11 */
    54         int tm_year;      /* years since 1900 */
     51        int tm_sec;         /* Seconds [0,60]. */
     52        int tm_min;         /* Minutes [0,59]. */
     53        int tm_hour;        /* Hour [0,23]. */
     54        int tm_mday;        /* Day of month [1,31]. */
     55        int tm_mon;         /* Month of year [0,11]. */
     56        int tm_year;        /* Years since 1900. */
     57        int tm_wday;        /* Day of week [0,6] (Sunday = 0). */
     58        int tm_yday;        /* Day of year [0,365]. */
     59        int tm_isdst;       /* Daylight Savings flag. */
    5560};
    5661
Note: See TracChangeset for help on using the changeset viewer.