Changes in uspace/lib/posix/time.h [4cf8ca6:55b1efd] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/time.h
r4cf8ca6 r55b1efd 119 119 extern size_t posix_strftime(char *restrict s, size_t maxsize, 120 120 const char *restrict format, const struct posix_tm *restrict tm); 121 extern size_t posix_strftime_l(char *restrict s, size_t maxsize,122 const char *restrict format, const struct posix_tm *restrict tm,123 posix_locale_t loc);124 121 125 122 /* Clocks */ … … 132 129 extern int posix_clock_nanosleep(posix_clockid_t clock_id, int flags, 133 130 const struct posix_timespec *rqtp, struct posix_timespec *rmtp); 134 135 #if 0136 137 /* Timers */138 extern int posix_timer_create(posix_clockid_t clockid,139 struct posix_sigevent *restrict evp,140 posix_timer_t *restrict timerid);141 extern int posix_timer_delete(posix_timer_t timerid);142 extern int posix_timer_getoverrun(posix_timer_t timerid);143 extern int posix_timer_gettime(posix_timer_t timerid,144 struct posix_itimerspec *value);145 extern int posix_timer_settime(posix_timer_t timerid, int flags,146 const struct posix_itimerspec *restrict value,147 struct posix_itimerspec *restrict ovalue);148 149 #endif150 131 151 132 /* CPU Time */ … … 176 157 #define ctime_r posix_ctime_r 177 158 #define strftime posix_strftime 178 #define strftime_l posix_strftime_l179 159 180 160 #define clock_getres posix_clock_getres … … 182 162 #define clock_settime posix_clock_settime 183 163 #define clock_nanosleep posix_clock_nanosleep 184 185 #define timer_create posix_timer_create 186 #define timer_delete posix_timer_delete 187 #define timer_getoverrun posix_timer_getoverrun 188 #define timer_gettime posix_timer_gettime 189 #define timer_settime posix_timer_settime 190 164 191 165 #define clock posix_clock 192 166 #endif
Note:
See TracChangeset
for help on using the changeset viewer.