search for: __kernel_suseconds_t

Displaying 4 results from an estimated 4 matches for "__kernel_suseconds_t".

2023 Jan 14
1
[klibc:time64] time: Use 64-bit time types on all architectures
...mespec { + __kernel_time64_t tv_sec; +#if __BYTE_ORDER == __BIG_ENDIAN && __BITS_PER_LONG == 32 + long __tv_pad; +#endif + long tv_nsec; +#if __BYTE_ORDER == __LITTLE_ENDIAN && __BITS_PER_LONG == 32 + long __tv_pad; +#endif +}; + +struct timeval { + __kernel_time64_t tv_sec; + __kernel_suseconds_t tv_usec; +}; + +struct timeval_old { + __kernel_time_t tv_sec; + __kernel_suseconds_t tv_usec; +}; + +struct itimerspec { + struct timespec it_interval; + struct timespec it_value; +}; + +struct itimerval { + struct timeval_old it_interval; + struct timeval_old it_value; +}; + +struct timezone { +...
2004 Sep 02
1
__kernel_timer_t missing
...c/include/sys/types.h.orig 2004-06-08 07:32:48.000000000 +0200 +++ klibc-0.171/klibc/include/sys/types.h 2004-09-02 15:14:04.495486895 +0200 @@ -28,7 +28,7 @@ typedef __kernel_pid_t pid_t; typedef __kernel_daddr_t daddr_t; typedef __kernel_key_t key_t; typedef __kernel_suseconds_t suseconds_t; -typedef __kernel_timer_t timer_t; +typedef int timer_t; typedef __kernel_uid32_t uid_t; typedef __kernel_gid32_t gid_t; -- USB is for mice, FireWire is for men! sUse lINUX ag, n?RNBERG
2023 Jan 26
0
[klibc:time64] time: Use clock_* system calls for time-of-day and sleep
...al *, struct itimerval *); __extern int utimes(const char *, const struct timeval[2]); diff --git a/usr/include/sys/types.h b/usr/include/sys/types.h index b8cdb8cf..e17bc87f 100644 --- a/usr/include/sys/types.h +++ b/usr/include/sys/types.h @@ -33,6 +33,7 @@ typedef __kernel_key_t key_t; typedef __kernel_suseconds_t suseconds_t; /* typedef __kernel_timer_t timer_t; */ typedef int timer_t; +typedef __kernel_clockid_t clockid_t; typedef __kernel_uid32_t uid_t; typedef __kernel_gid32_t gid_t; diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index 02a18e64..8b132190 100644 --- a/usr/klibc/Kbuild +++ b/usr/kl...
2004 Feb 22
3
ARM/Thumb updates and some other minor tweaks
...pes.h klibc-0.114/klibc/include/sys/types.h --- klibc-0.114_orig/klibc/include/sys/types.h 2004-02-08 22:19:37.000000000 -0800 +++ klibc-0.114/klibc/include/sys/types.h 2004-02-22 04:39:00.000000000 -0800 @@ -27,7 +27,12 @@ typedef __kernel_daddr_t daddr_t; typedef __kernel_key_t key_t; typedef __kernel_suseconds_t suseconds_t; -typedef __kernel_timer_t timer_t; +/* + * __kernel_timer_t is not defined in arm kernel 2.4.21-rmk2 which causes + * arm klibc builds to fail. timer_t doesn't seem to be used within klibc + * so commenting out the typedef seems like a valid fix ? + */ +//typedef __kernel_timer_t t...