Changeset 823a929 in mainline for uspace/lib/posix/time.h
- Timestamp:
- 2011-06-23T23:57:33Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e64b55a
- Parents:
- da084d9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/time.h
rda084d9 r823a929 55 55 }; 56 56 57 typedef long posix_clock_t; 58 57 59 /* Broken-down Time */ 58 60 extern struct posix_tm *posix_localtime(const time_t *timep); … … 63 65 extern size_t posix_strftime(char *restrict s, size_t maxsize, const char *restrict format, const struct posix_tm *restrict tm); 64 66 67 /* CPU Time */ 68 extern posix_clock_t posix_clock(void); 69 65 70 #ifndef LIBPOSIX_INTERNAL 66 71 #define tm posix_tm 72 73 #define clock_t posix_clock_t 67 74 68 75 #define localtime posix_localtime … … 71 78 #define ctime posix_ctime 72 79 #define strftime posix_strftime 80 81 #define clock posix_clock 73 82 #endif 74 83
Note:
See TracChangeset
for help on using the changeset viewer.