Ignore:
Timestamp:
Nov 16, 2004, 6:26:16 AM (21 years ago)
Author:
bird
Message:

...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/sys/time.h

    • Property cvs2svn:cvs-rev changed from 1.7 to 1.8
    r1637 r1638  
    238238#define ITIMER_PROF     2
    239239
    240 #pragma pack(4) /* bird: IBM TCP paranoia */
    241240struct itimerval {
    242241        struct  timeval it_interval;    /* timer interval */
    243242        struct  timeval it_value;       /* current value */
    244243};
    245 #pragma pack()  /* bird: IBM TCP paranoia */
    246244
    247245/*
     
    251249        int     hz;             /* clock frequency */
    252250        int     tick;           /* micro-seconds per hz tick */
    253 #if 0  /* bird: OS/2 TCP doesn't define this. */
    254251        int     spare;
    255 #endif
    256252        int     stathz;         /* statistics clock frequency */
    257253        int     profhz;         /* profiling clock frequency */
     
    328324
    329325__BEGIN_DECLS
    330 /*int   adjtime(const struct timeval *, struct timeval *); bird: TCP */
    331 int     futimes(int, const struct timeval *);
    332 /*int   getitimer(int, struct itimerval *); bird: TCP */
     326/** @todo int   adjtime(const struct timeval *, struct timeval *); */
     327/** @todo int   futimes(int, const struct timeval *); */
     328int     getitimer(int, struct itimerval *);
    333329int     gettimeofday(struct timeval *, struct timezone *);
    334 int     lutimes(const char *, const struct timeval *);
    335 /*int   setitimer(int, const struct itimerval *, struct itimerval *); bird: TCP */
     330/** @todo int   lutimes(const char *, const struct timeval *); */
     331int     setitimer(int, const struct itimerval *, struct itimerval *);
    336332int     settimeofday(const struct timeval *, const struct timezone *);
    337333int     utimes(const char *, const struct timeval *);
    338334
    339 /* bird: TCP, moved some protos from above and down here. */
    340 #if !defined(TCPV40HDRS)
    341 #ifndef TCPCALL
    342 #define TCPCALL _System
    343 #endif
    344 int     TCPCALL setitimer(int, const struct itimerval *, struct itimerval *);
    345 int     TCPCALL adjtime(const struct timeval *, struct timeval *);
    346 int     TCPCALL getitimer(int, struct itimerval *);
    347 #endif /* TCPV40HDRS */
    348 /* bird: TCP end */
    349335__END_DECLS
    350336
Note: See TracChangeset for help on using the changeset viewer.