Changes in uspace/lib/posix/time.h [55b1efd:4cf8ca6] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/time.h
r55b1efd r4cf8ca6 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); 121 124 122 125 /* Clocks */ … … 129 132 extern int posix_clock_nanosleep(posix_clockid_t clock_id, int flags, 130 133 const struct posix_timespec *rqtp, struct posix_timespec *rmtp); 134 135 #if 0 136 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 #endif 131 150 132 151 /* CPU Time */ … … 157 176 #define ctime_r posix_ctime_r 158 177 #define strftime posix_strftime 178 #define strftime_l posix_strftime_l 159 179 160 180 #define clock_getres posix_clock_getres … … 162 182 #define clock_settime posix_clock_settime 163 183 #define clock_nanosleep posix_clock_nanosleep 164 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 165 191 #define clock posix_clock 166 192 #endif
Note:
See TracChangeset
for help on using the changeset viewer.