search for: rtmax

Displaying 3 results from an estimated 3 matches for "rtmax".

Did you mean: tmax
2005 Mar 02
1
[PATCH] signal.h
This patch does two things. This test program results (on i386) in an error about _NSIG: #include <signal.h> #if defined (SIGRTMAX) int rtmax = SIGRTMAX; #endif The cause is that the kernel signal.h defines SIGRTMAX as _NSIG, then makes _NSIG invisibelby hiding it inside ifdef __KERNEL__. Perhaps it's more elegant to solve this in the kernel, but the ramifications of that scare me. The other issue is that signal() is n...
2019 Jan 25
0
[klibc:update-dash] dash: Fix some cosmetic differences from upstream dash
...", 5) ) { + if (!strncasecmp(string, "RTMIN", 5)) { char *ep; - if ( string[5] && string[5] != '+' ) + if (string[5] && string[5] != '+') return -1; - i = SIGRTMIN + strtol(string+5, &ep, 10); - if ( *ep || i < SIGRTMIN || i > SIGRTMAX ) + signo = SIGRTMIN + strtol(string+5, &ep, 10); + if (*ep || signo < SIGRTMIN || signo > SIGRTMAX) return -1; - return i; + return signo; } - if ( !strncasecmp(string, "RTMAX", 5) ) { + if (!strncasecmp(string, "RTMAX", 5)) { char *ep; - if ( string...
2020 Mar 28
0
[klibc:update-dash] dash: Fix some cosmetic differences from upstream dash
...", 5) ) { + if (!strncasecmp(string, "RTMIN", 5)) { char *ep; - if ( string[5] && string[5] != '+' ) + if (string[5] && string[5] != '+') return -1; - i = SIGRTMIN + strtol(string+5, &ep, 10); - if ( *ep || i < SIGRTMIN || i > SIGRTMAX ) + signo = SIGRTMIN + strtol(string+5, &ep, 10); + if (*ep || signo < SIGRTMIN || signo > SIGRTMAX) return -1; - return i; + return signo; } - if ( !strncasecmp(string, "RTMAX", 5) ) { + if (!strncasecmp(string, "RTMAX", 5)) { char *ep; - if ( string...