Changeset 021c508 in mainline for uspace/lib/posix/time.h


Ignore:
Timestamp:
2011-06-24T02:17:09Z (13 years ago)
Author:
Petr Koupy <petr.koupy@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d185132
Parents:
4d4988e (diff), 67c64b9f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge libposix changes.

File:
1 edited

Legend:

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

    r4d4988e r021c508  
    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.