github.com/afumu/libc@v0.0.6/musl/compat/time32/time32.h (about)

     1  #ifndef TIME32_H
     2  #define TIME32_H
     3  
     4  #include <sys/types.h>
     5  
     6  typedef long time32_t;
     7  
     8  struct timeval32 {
     9  	long tv_sec;
    10  	long tv_usec;
    11  };
    12  
    13  struct itimerval32 {
    14  	struct timeval32 it_interval;
    15  	struct timeval32 it_value;
    16  };
    17  
    18  struct timespec32 {
    19  	long tv_sec;
    20  	long tv_nsec;
    21  };
    22  
    23  struct itimerspec32 {
    24  	struct timespec32 it_interval;
    25  	struct timespec32 it_value;
    26  };
    27  
    28  int __adjtime32() __asm__("adjtime");
    29  int __adjtimex_time32() __asm__("adjtimex");
    30  int __aio_suspend_time32() __asm__("aio_suspend");
    31  int __clock_adjtime32() __asm__("clock_adjtime");
    32  int __clock_getres_time32() __asm__("clock_getres");
    33  int __clock_gettime32() __asm__("clock_gettime");
    34  int __clock_nanosleep_time32() __asm__("clock_nanosleep");
    35  int __clock_settime32() __asm__("clock_settime");
    36  int __cnd_timedwait_time32() __asm__("cnd_timedwait");
    37  char *__ctime32() __asm__("ctime");
    38  char *__ctime32_r() __asm__("ctime_r");
    39  double __difftime32() __asm__("difftime");
    40  int __fstat_time32() __asm__("fstat");
    41  int __fstatat_time32() __asm__("fstatat");
    42  int __ftime32() __asm__("ftime");
    43  int __futimens_time32() __asm__("futimens");
    44  int __futimes_time32() __asm__("futimes");
    45  int __futimesat_time32() __asm__("futimesat");
    46  int __getitimer_time32() __asm__("getitimer");
    47  int __getrusage_time32() __asm__("getrusage");
    48  int __gettimeofday_time32() __asm__("gettimeofday");
    49  struct tm *__gmtime32() __asm__("gmtime");
    50  struct tm *__gmtime32_r() __asm__("gmtime_r");
    51  struct tm *__localtime32() __asm__("localtime");
    52  struct tm *__localtime32_r() __asm__("localtime_r");
    53  int __lstat_time32() __asm__("lstat");
    54  int __lutimes_time32() __asm__("lutimes");
    55  time32_t __mktime32() __asm__("mktime");
    56  ssize_t __mq_timedreceive_time32() __asm__("mq_timedreceive");
    57  int __mq_timedsend_time32() __asm__("mq_timedsend");
    58  int __mtx_timedlock_time32() __asm__("mtx_timedlock");
    59  int __nanosleep_time32() __asm__("nanosleep");
    60  int __ppoll_time32() __asm__("ppoll");
    61  int __pselect_time32() __asm__("pselect");
    62  int __pthread_cond_timedwait_time32() __asm__("pthread_cond_timedwait");
    63  int __pthread_mutex_timedlock_time32() __asm__("pthread_mutex_timedlock");
    64  int __pthread_rwlock_timedrdlock_time32() __asm__("pthread_rwlock_timedrdlock");
    65  int __pthread_rwlock_timedwrlock_time32() __asm__("pthread_rwlock_timedwrlock");
    66  int __pthread_timedjoin_np_time32() __asm__("pthread_timedjoin_np");
    67  int __recvmmsg_time32() __asm__("recvmmsg");
    68  int __sched_rr_get_interval_time32() __asm__("sched_rr_get_interval");
    69  int __select_time32() __asm__("select");
    70  int __sem_timedwait_time32() __asm__("sem_timedwait");
    71  int __semtimedop_time32() __asm__("semtimedop");
    72  int __setitimer_time32() __asm__("setitimer");
    73  int __settimeofday_time32() __asm__("settimeofday");
    74  int __sigtimedwait_time32() __asm__("sigtimedwait");
    75  int __stat_time32() __asm__("stat");
    76  int __stime32() __asm__("stime");
    77  int __thrd_sleep_time32() __asm__("thrd_sleep");
    78  time32_t __time32() __asm__("time");
    79  time32_t __time32gm() __asm__("timegm");
    80  int __timer_gettime32() __asm__("timer_gettime");
    81  int __timer_settime32() __asm__("timer_settime");
    82  int __timerfd_gettime32() __asm__("timerfd_gettime");
    83  int __timerfd_settime32() __asm__("timerfd_settime");
    84  int __timespec_get_time32() __asm__("timespec_get");
    85  int __utime_time32() __asm__("utime");
    86  int __utimensat_time32() __asm__("utimensat");
    87  int __utimes_time32() __asm__("utimes");
    88  pid_t __wait3_time32() __asm__("wait3");
    89  pid_t __wait4_time32() __asm__("wait4");
    90  
    91  #endif