Lines Matching refs:signal

16 /* macros defining the standard signal handling behavior */
17 #define SIG_DFL ((__sighandler_t)0) /* "default" signal behaviour */
18 #define SIG_IGN ((__sighandler_t)1) /* ignore signal */
19 #define SIG_ERR ((__sighandler_t)-1) /* an error occurred during signal
21 #define SIG_HOLD ((__sighandler_t)3) /* the signal was hold */
25 #define SIGEV_SIGNAL 1 /* notify via queued signal */
36 int sigev_signo; /* signal number */
37 union sigval sigev_value; /* user-defined signal value */
47 int si_signo; /* signal number */
48 int si_code; /* signal code */
50 this signal */
54 int si_status; /* exit value or signal */
56 union sigval si_value; /* signal value */
60 /* signal handler function types */
66 /* GNU-like signal handler typedef */
78 void* sa_userdata; /* will be passed to the signal
137 #define SIGUSR1 18 /* app defined signal 1 */
138 #define SIGUSR2 19 /* app defined signal 2 */
154 /* lowest realtime signal number */
156 /* greatest realtime signal number */
158 #define __MAX_SIGNO 64 /* greatest possible signal number, can be used (+1)
166 /* any signal */
167 #define SI_USER 0 /* signal sent by user */
168 #define SI_QUEUE 1 /* signal sent by sigqueue() */
169 #define SI_TIMER 2 /* signal sent on timer_settime() timeout */
170 #define SI_ASYNCIO 3 /* signal sent on asynchronous I/O completion */
171 #define SI_MESGQ 4 /* signal sent on arrival of message on empty
217 /* the global table of text strings containing descriptions for each signal */
227 /* signal management (actions and block masks) */
228 __sighandler_t signal(int _signal, __sighandler_t signalHandler);
256 /* setting the per-thread signal stack */
259 /* signal set (sigset_t) manipulation */
266 /* printing signal names */
285 * The standard Posix interface for signal handlers is not as useful
287 * (the signal number). For example:
295 * signal(SIGINT, &my_signal_handler);
297 * The sigaction() function allows finer grained control of the signal
316 * The two additional arguments available to the signal handler are extensions
323 * The 3 arguments that Haiku provides to signal handlers are as follows:
324 * 1) The first argument is the (usual) signal number.
331 * the time the signal was delivered to your thread. You can change the
332 * fields of the structure. After your signal handler completes, the OS uses
344 * signal handlers get this as the last argument
351 #include __HAIKU_ARCH_HEADER(signal.h)