home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Power 1999 February
/
MACPOWER-1999-02.ISO.7z
/
MACPOWER-1999-02.ISO
/
9902⁄AMUG
/
UTILITY
/
mac06-0.95.sit
/
mac06-0.95
/
usr
/
include
/
signal.h
< prev
next >
Wrap
Text File
|
1998-09-21
|
1KB
|
42 lines
/* mac06ゥ1997,98 by HNS/DSITRI hns@computer.org
** signal.h
*/
#pragma once
typedef void (*__SIGFUNCP)(long);
#define SIG_DFL ((__SIGFUNCP) 0) /* default */
#define SIG_ERR ((__SIGFUNCP) -1) /* error */
#define SIG_IGN ((__SIGFUNCP) 1) /* ignore */
#define SIGHUP 1 /* connection to controlling terminal is lost */
#define SIGINT 2 /* user interrupt */
#define SIGQUIT 3 /* user quit */
#define SIGABRT SIGQUIT /* user abort */
#define SIGILL 4 /* illegal instruction */
#define SIGTRAP 5 /* trap instruction */
#define SIGIOT 6
#define SIGEMT 7
#define SIGFPE 8 /* floating point exception */
#define SIGKILL 9 /* kill process */
#define SIGBUS 10
#define SIGSEGV 11 /* address error */
#define SIGSYS 12 /* invalid system call argument */
#define SIGPIPE 13 /* pipe reading process has terminated */
#define SIGALRM 14 /* timeout of alarm() system call */
#define SIGTERM 15 /* default request to terminate */
#define SIGCHLD 16
#define SIGCONT 17
#define SIGSTOP 18
#define SIGTSTP 19
#define SIGTTIN 20
#define SIGTTOU 21
#define SIGUSR1 22
#define SIGUSR2 23
int kill(int pid, int sig);
#define raise(S) kill((S), getpid())
__SIGFUNCP signal(int sig, __SIGFUNCP proc);
/* EOF */