Changeset 823a929 in mainline for uspace/lib/posix/time.h


Ignore:
Timestamp:
2011-06-23T23:57:33Z (13 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e64b55a
Parents:
da084d9
Message:

Added function stubs (binutils compile-time dependencies).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/time.h

    rda084d9 r823a929  
    5555};
    5656
     57typedef long posix_clock_t;
     58
    5759/* Broken-down Time */
    5860extern struct posix_tm *posix_localtime(const time_t *timep);
     
    6365extern size_t posix_strftime(char *restrict s, size_t maxsize, const char *restrict format, const struct posix_tm *restrict tm);
    6466
     67/* CPU Time */
     68extern posix_clock_t posix_clock(void);
     69
    6570#ifndef LIBPOSIX_INTERNAL
    6671        #define tm posix_tm
     72
     73        #define clock_t posix_clock_t
    6774
    6875        #define localtime posix_localtime
     
    7178        #define ctime posix_ctime
    7279        #define strftime posix_strftime
     80
     81        #define clock posix_clock
    7382#endif
    7483
Note: See TracChangeset for help on using the changeset viewer.