Changeset f25b73d6 in mainline for libc


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.

Location:
libc
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • libc/generic/time.c

    r854387b rf25b73d6  
    2727 */
    2828
    29 #include <time.h>
     29#include <sys/time.h>
    3030#include <unistd.h>
    3131#include <ipc/ipc.h>
  • libc/include/async.h

    r854387b rf25b73d6  
    44#include <ipc/ipc.h>
    55#include <psthread.h>
    6 #include <time.h>
     6#include <sys/time.h>
    77
    88typedef ipc_callid_t aid_t;
  • 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.