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


Ignore:
Timestamp:
2012-08-13T14:15:57Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45cbcaf4
Parents:
43e660c
Message:

The gettimeofday() function now asks for the current time to the real time clock driver, if present.
Add the getuptime() function which returns the system uptime.

File:
1 edited

Legend:

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

    r43e660c r3a58347  
    7676extern int tv_gteq(struct timeval *tv1, struct timeval *tv2);
    7777extern int gettimeofday(struct timeval *tv, struct timezone *tz);
     78extern int getuptime(struct timeval *tv);
    7879
    7980extern void udelay(useconds_t);
Note: See TracChangeset for help on using the changeset viewer.