Changeset f25b73d6 in mainline for libc/include/time.h


Ignore:
Timestamp:
2006-05-29T17:09:10Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
79460ae
Parents:
854387b
Message:

Started porting tetris.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libc/include/time.h

    r854387b rf25b73d6  
    3030#define __libc_TIME_H__
    3131
    32 #include <types.h>
    33 
    34 #define DST_NONE 0
    35 
    36 typedef sysarg_t time_t;
    37 typedef sysarg_t suseconds_t;
    38 
    39 struct timeval {
    40         time_t         tv_sec;        /* seconds */
    41         suseconds_t    tv_usec;  /* microseconds */
    42 };
    43 
    44 struct timezone {
    45         int  tz_minuteswest; /* minutes W of Greenwich */
    46         int  tz_dsttime;     /* type of dst correction */
    47 };
    48 
    49 int gettimeofday(struct timeval *tv, struct timezone *tz);
    50 
    5132#endif
Note: See TracChangeset for help on using the changeset viewer.