mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
For Mac OS X Tiger - no SIGIO, SIGWINCH, or WCOREDUMP.
This commit is contained in:
parent
52e6164443
commit
40ce5ba674
1 changed files with 8 additions and 0 deletions
|
@ -8,6 +8,10 @@
|
||||||
#include <sys/resource.h>
|
#include <sys/resource.h>
|
||||||
#include <sys/wait.h>
|
#include <sys/wait.h>
|
||||||
|
|
||||||
|
#ifndef WCOREDUMP /* not on Mac OS X Tiger */
|
||||||
|
#define WCOREDUMP(status) 0
|
||||||
|
#endif
|
||||||
|
|
||||||
static struct {
|
static struct {
|
||||||
int sig;
|
int sig;
|
||||||
char *str;
|
char *str;
|
||||||
|
@ -34,12 +38,16 @@ static struct {
|
||||||
SIGCHLD, "sys: child",
|
SIGCHLD, "sys: child",
|
||||||
SIGTTIN, "sys: ttin",
|
SIGTTIN, "sys: ttin",
|
||||||
SIGTTOU, "sys: ttou",
|
SIGTTOU, "sys: ttou",
|
||||||
|
#ifdef SIGIO /* not on Mac OS X Tiger */
|
||||||
SIGIO, "sys: i/o possible on fd",
|
SIGIO, "sys: i/o possible on fd",
|
||||||
|
#endif
|
||||||
SIGXCPU, "sys: cpu time limit exceeded",
|
SIGXCPU, "sys: cpu time limit exceeded",
|
||||||
SIGXFSZ, "sys: file size limit exceeded",
|
SIGXFSZ, "sys: file size limit exceeded",
|
||||||
SIGVTALRM, "sys: virtual time alarm",
|
SIGVTALRM, "sys: virtual time alarm",
|
||||||
SIGPROF, "sys: profiling timer alarm",
|
SIGPROF, "sys: profiling timer alarm",
|
||||||
|
#ifdef SIGWINCH /* not on Mac OS X Tiger */
|
||||||
SIGWINCH, "sys: window size change",
|
SIGWINCH, "sys: window size change",
|
||||||
|
#endif
|
||||||
#ifdef SIGINFO
|
#ifdef SIGINFO
|
||||||
SIGINFO, "sys: status request",
|
SIGINFO, "sys: status request",
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue