search for: itimerval

Displaying 10 results from an estimated 10 matches for "itimerval".

Did you mean: gtimeval
2023 Jan 26
0
[klibc:time64] time: Use clock_* system calls for time-of-day and sleep
...onst struct timeval *, const struct timezone *); +__extern int clock_gettime(clockid_t, struct timespec *); +__extern int clock_settime(clockid_t, const struct timespec *); +__extern int clock_nanosleep(clockid_t, int, const struct timespec *, struct timespec *); __extern int getitimer(int, struct itimerval *); __extern int setitimer(int, const struct itimerval *, 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 @@...
2023 Jan 14
1
[klibc:time64] time: Use 64-bit time types on all architectures
...time.h>, replace <linux/time.h> with suitable definitions: - Define struct timespec and itimerspec to match the kernel's 64-bit structures - Define struct timeval using __kernel_time64_t (although there are no new system calls using struct timeval) - Keep the old struct itimerval definition, because there aren't simple replacements available for the {get,set}itimer() system calls and it holds relative times that don't need the extra range - Similarly, keep the old struct timeval definition as timeval_old and use it in struct rusage - Copy struct time...
2008 Sep 26
0
W2K8 ADS, sernet pkgs (debian)
...ion of ?struct timespec? /usr/include/linux/time.h:15: error: redefinition of ?struct timeval? /usr/include/linux/time.h:20: error: redefinition of ?struct timezone? /usr/include/linux/time.h:42: error: redefinition of ?struct itimerspec? /usr/include/linux/time.h:47: error: redefinition of ?struct itimerval? client/smbmount.c: In function ?init_mount?: client/smbmount.c:496: warning: the address of ?options? will always evaluate as ?true? The following command failed: i486-linux-gnu-gcc -I. -I/usr/src/samba-3.0.32/source -gstabs -Wall -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -DIDMAP_RID_SUPPORT_TRUSTED_...
2012 Sep 25
1
[PATCH] Fix <sys/time.h> for Linux 3.5.1
...line int FD_ISSET(int __fd, fd_set *__fdsetp) (__fd % BITS_PER_LONG)) & 1; } +#define FD_SETSIZE __FD_SETSIZE + __extern int gettimeofday(struct timeval *, struct timezone *); __extern int settimeofday(const struct timeval *, const struct timezone *); __extern int getitimer(int, struct itimerval *); -- 1.7.10.4
2012 Oct 01
0
[klibc:master] include: [sys/time.h] fix for Linux 3.5.1
...line int FD_ISSET(int __fd, fd_set *__fdsetp) (__fd % BITS_PER_LONG)) & 1; } +#define FD_SETSIZE __FD_SETSIZE + __extern int gettimeofday(struct timeval *, struct timezone *); __extern int settimeofday(const struct timeval *, const struct timezone *); __extern int getitimer(int, struct itimerval *);
2020 Aug 27
0
[klibc:master] sparc: Set sa_restorer for signals and disable executable stack
...90,s390x> int sigsuspend::__sigsuspend_xxs(int, int, sigset_t); #endif -<s390,s390x,sparc64> void rt_sigreturn::__sigreturn(); +<s390,s390x,sparc,sparc64> void rt_sigreturn::__sigreturn(); int kill(pid_t, int); <?> unsigned int alarm(unsigned int); int getitimer(int, struct itimerval *); diff --git a/usr/klibc/arch/sparc/MCONFIG b/usr/klibc/arch/sparc/MCONFIG index cabc7cd4..fb68ba3f 100644 --- a/usr/klibc/arch/sparc/MCONFIG +++ b/usr/klibc/arch/sparc/MCONFIG @@ -18,6 +18,5 @@ KLIBCARCHREQFLAGS += -D__sparc32__ # and call instructions have a 30-bit signed offset, << 2....
2020 Aug 27
0
[klibc:master] s390: Set sa_restorer for signals and disable executable stack
...suspend::__sigsuspend_s(sigset_t); <arm,frv,i386,m68k,mn10300,s390,s390x> int sigsuspend::__sigsuspend_xxs(int, int, sigset_t); #endif +<s390,s390x,sparc64> void rt_sigreturn::__sigreturn(); int kill(pid_t, int); <?> unsigned int alarm(unsigned int); int getitimer(int, struct itimerval *); diff --git a/usr/klibc/arch/s390/MCONFIG b/usr/klibc/arch/s390/MCONFIG index c36acd7a..7ffbcc45 100644 --- a/usr/klibc/arch/s390/MCONFIG +++ b/usr/klibc/arch/s390/MCONFIG @@ -22,6 +22,5 @@ endif KLIBCASMARCH = s390 KLIBCSHAREDFLAGS = -Ttext-segment 0x40000000 -# Kernel uses stack trampolin...
2009 Jul 14
0
[LLVMdev] "Recursive compilation detected" and signals
...12 LEVEL12 #define LEVEL14 LEVEL13 LEVEL13 #define LEVEL15 LEVEL14 LEVEL14 void timer_handler (int signum) { printf ("timer expired\n"); LEVEL13; } void sigsegv_handler (int signum) { printf ("Uh oh\n"); LEVEL13; } int main (int argc, char **argv) { struct itimerval timer; struct sigaction sa1, sa2; /* Configure the timer to expire after 250 msec... */ timer.it_value.tv_sec = 0; timer.it_value.tv_usec = 250000; /* ... and every 250 msec after that. */ timer.it_interval.tv_sec = 0; timer.it_interval.tv_usec = 250000; /* Ins...
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...der_t: size 4, sign 0 TYPE char *: size 4, sign 0 TYPE char * const *: size 4, sign 0 TYPE const char *: size 4, sign 0 TYPE const gid_t *: size 4, sign 0 TYPE const sigset_t *: size 4, sign 0 TYPE const struct __pselect6 *: size 4, sign 0 TYPE const struct iovec *: size 4, sign 0 TYPE const struct itimerval *: size 4, sign 0 TYPE const struct msghdr *: size 4, sign 0 TYPE const struct sched_param *: size 4, sign 0 TYPE const struct sigaction *: size 4, sign 0 TYPE const struct sockaddr *: size 4, sign 0 TYPE const struct timespec *: size 4, sign 0 TYPE const struct timeval *: size 4, sign 0 TYPE const...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote: > > > Find attached two patches I have in order to build klibc 2.0.2 > against kernel 3.8.13 > We had to introduce those patches when going from kernel 3.6 to kernel 3.7 > Hope it helps. > those patches are wrong and again very brittle. just use the way it is described in `make help': A) cd ~/src/linux