Changeset f7ea5400 in mainline for uspace/lib/posix/time.h
- Timestamp:
- 2012-08-15T17:52:09Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 16639bb
- Parents:
- 9dec6d4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/time.h
r9dec6d4 rf7ea5400 87 87 extern struct tm *posix_gmtime_r(const time_t *restrict timer, 88 88 struct tm *restrict result); 89 extern struct tm *posix_gmtime(const time_t *restrict timep); 89 90 extern struct tm *posix_localtime_r(const time_t *restrict timer, 90 91 struct tm *restrict result); 92 extern struct tm *posix_localtime(const time_t *restrict timep); 91 93 92 94 /* Formatting Calendar Time */ 93 95 extern char *posix_asctime_r(const struct tm *restrict timeptr, 94 96 char *restrict buf); 97 extern char *posix_asctime(const struct tm *restrict timeptr); 95 98 extern char *posix_ctime_r(const time_t *timer, char *buf); 99 extern char *posix_ctime(const time_t *timer); 96 100 97 101 /* Clocks */ … … 109 113 110 114 #ifndef LIBPOSIX_INTERNAL 111 #define timespec posix_timespec112 #define itimerspec posix_itimerspec113 #define timer_t posix_timer_t115 #define timespec posix_timespec 116 #define itimerspec posix_itimerspec 117 #define timer_t posix_timer_t 114 118 115 #define daylight posix_daylight116 #define timezone posix_timezone117 #define tzname posix_tzname118 #define tzset posix_tzset119 #define daylight posix_daylight 120 #define timezone posix_timezone 121 #define tzname posix_tzname 122 #define tzset posix_tzset 119 123 120 #define gmtime_r posix_gmtime_r 124 #define gmtime_r posix_gmtime_r 125 #define gmtime posix_gmtime 121 126 #define localtime_r posix_localtime_r 127 #define localtime posix_localtime 122 128 123 #define asctime_r posix_asctime_r 124 #define ctime_r posix_ctime_r 129 #define asctime_r posix_asctime_r 130 #define asctime posix_asctime 131 #define ctime_r posix_ctime_r 132 #define ctime posix_ctime 125 133 126 134 #define clock_getres posix_clock_getres
Note:
See TracChangeset
for help on using the changeset viewer.