Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Typedefs | Functions | Variables
signal.h File Reference
#include <sys/cdefs.h>
#include <machine/signal.h>

Go to the source code of this file.

Classes

struct  sigaction

Defines

#define NSIG   32 /* counting 0; could be 33 (mask is 1-32) */
#define SIGINT   2 /* interrupt */
#define SIGQUIT   3 /* quit */
#define SIGABRT   6 /* abort() */
#define SIGFPE   8 /* floating point exception */
#define SIGKILL   9 /* kill (cannot be caught or ignored) */
#define SIGSEGV   11 /* segmentation violation */
#define SIGPIPE   13 /* write on a pipe with no one to read it */
#define SIGALRM   14 /* alarm clock */
#define SIGTERM   15 /* software termination signal from kill */
#define SIGURG   16 /* urgent condition on IO channel */
#define SIGSTOP   17 /* sendable stop signal not from tty */
#define SIGTSTP   18 /* stop signal from tty */
#define SIGCONT   19 /* continue a stopped process */
#define SIGCHLD   20 /* to parent on child stop or exit */
#define SIGTTIN   21 /* to readers pgrp upon background tty read */
#define SIGTTOU   22 /* like TTIN for output if (tp->t_local&LTOSTOP) */
#define SIGHUP   24 /* hangup */
#define SIGILL   25 /* illegal instruction (not reset when caught) */
#define SIGIO   23 /* input/output possible signal */
#define SIGPROF   27 /* profiling time alarm */
#define SIGWINCH   28 /* window size changes */
#define SIGUSR1   30 /* user defined signal 1 */
#define SIGUSR2   31 /* user defined signal 2 */
#define SIG_DFL   (__sig_handler)0
#define SIG_IGN   (__sig_handler)1
#define SIG_ERR   (__sig_handler)-1
#define SA_NOCLDSTOP   0x0008 /* do not generate SIGCHLD on child stop */
#define SA_RESETHAND   0x0001 /* emulate ANSI signals */
#define SA_RESTART   0x0002 /* restart slow system calls */
#define SA_NODEFER   0x0004 /* don't block current signal */
#define SIG_BLOCK   1 /* block specified signal set */
#define SIG_UNBLOCK   2 /* unblock specified signal set */
#define SIG_SETMASK   3 /* set specified signal set */

Typedefs

typedef unsigned int sigset_t

Functions

__BEGIN_DECLS __sig_handler signal __P ((int, __sig_handler))

Variables

__BEGIN_DECLS typedef void(* __sig_handler )(int)

Class Documentation

struct sigaction

Definition at line 97 of file signal.h.

Collaboration diagram for sigaction:
Class Members
int sa_flags
__sig_handler sa_handler
sigset_t sa_mask

Define Documentation

#define NSIG   32 /* counting 0; could be 33 (mask is 1-32) */

Definition at line 47 of file signal.h.

#define SA_NOCLDSTOP   0x0008 /* do not generate SIGCHLD on child stop */

Definition at line 102 of file signal.h.

#define SA_NODEFER   0x0004 /* don't block current signal */

Definition at line 105 of file signal.h.

#define SA_RESETHAND   0x0001 /* emulate ANSI signals */

Definition at line 103 of file signal.h.

#define SA_RESTART   0x0002 /* restart slow system calls */

Definition at line 104 of file signal.h.

#define SIG_BLOCK   1 /* block specified signal set */

Definition at line 110 of file signal.h.

Definition at line 87 of file signal.h.

Definition at line 89 of file signal.h.

Definition at line 88 of file signal.h.

#define SIG_SETMASK   3 /* set specified signal set */

Definition at line 112 of file signal.h.

#define SIG_UNBLOCK   2 /* unblock specified signal set */

Definition at line 111 of file signal.h.

#define SIGABRT   6 /* abort() */

Definition at line 61 of file signal.h.

#define SIGALRM   14 /* alarm clock */

Definition at line 66 of file signal.h.

#define SIGCHLD   20 /* to parent on child stop or exit */

Definition at line 74 of file signal.h.

#define SIGCONT   19 /* continue a stopped process */

Definition at line 73 of file signal.h.

#define SIGFPE   8 /* floating point exception */

Definition at line 62 of file signal.h.

#define SIGHUP   24 /* hangup */

Definition at line 77 of file signal.h.

#define SIGILL   25 /* illegal instruction (not reset when caught) */

Definition at line 78 of file signal.h.

#define SIGINT   2 /* interrupt */

Definition at line 58 of file signal.h.

#define SIGIO   23 /* input/output possible signal */

Definition at line 80 of file signal.h.

#define SIGKILL   9 /* kill (cannot be caught or ignored) */

Definition at line 63 of file signal.h.

#define SIGPIPE   13 /* write on a pipe with no one to read it */

Definition at line 65 of file signal.h.

#define SIGPROF   27 /* profiling time alarm */

Definition at line 81 of file signal.h.

#define SIGQUIT   3 /* quit */

Definition at line 59 of file signal.h.

#define SIGSEGV   11 /* segmentation violation */

Definition at line 64 of file signal.h.

#define SIGSTOP   17 /* sendable stop signal not from tty */

Definition at line 71 of file signal.h.

#define SIGTERM   15 /* software termination signal from kill */

Definition at line 67 of file signal.h.

#define SIGTSTP   18 /* stop signal from tty */

Definition at line 72 of file signal.h.

#define SIGTTIN   21 /* to readers pgrp upon background tty read */

Definition at line 75 of file signal.h.

#define SIGTTOU   22 /* like TTIN for output if (tp->t_local&LTOSTOP) */

Definition at line 76 of file signal.h.

#define SIGURG   16 /* urgent condition on IO channel */

Definition at line 69 of file signal.h.

#define SIGUSR1   30 /* user defined signal 1 */

Definition at line 84 of file signal.h.

#define SIGUSR2   31 /* user defined signal 2 */

Definition at line 85 of file signal.h.

#define SIGWINCH   28 /* window size changes */

Definition at line 82 of file signal.h.


Typedef Documentation

typedef unsigned int sigset_t

Definition at line 92 of file signal.h.


Function Documentation


Variable Documentation

Definition at line 54 of file signal.h.