Changeset 021c508 in mainline for uspace/lib/posix/time.h
- Timestamp:
- 2011-06-24T02:17:09Z (13 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/time.h
r4d4988e r021c508 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.