Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/time.h

    r55b1efd r4cf8ca6  
    119119extern size_t posix_strftime(char *restrict s, size_t maxsize,
    120120    const char *restrict format, const struct posix_tm *restrict tm);
     121extern 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);
    121124
    122125/* Clocks */
     
    129132extern int posix_clock_nanosleep(posix_clockid_t clock_id, int flags,
    130133    const struct posix_timespec *rqtp, struct posix_timespec *rmtp);
     134
     135#if 0
     136
     137/* Timers */
     138extern int posix_timer_create(posix_clockid_t clockid,
     139    struct posix_sigevent *restrict evp,
     140    posix_timer_t *restrict timerid);
     141extern int posix_timer_delete(posix_timer_t timerid);
     142extern int posix_timer_getoverrun(posix_timer_t timerid);
     143extern int posix_timer_gettime(posix_timer_t timerid,
     144    struct posix_itimerspec *value);
     145extern 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
    131150
    132151/* CPU Time */
     
    157176        #define ctime_r posix_ctime_r
    158177        #define strftime posix_strftime
     178        #define strftime_l posix_strftime_l
    159179
    160180        #define clock_getres posix_clock_getres
     
    162182        #define clock_settime posix_clock_settime
    163183        #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       
    165191        #define clock posix_clock
    166192#endif
Note: See TracChangeset for help on using the changeset viewer.