[BACK]Return to siglist.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Annotation of src/lib/libc/gen/siglist.c, Revision 1.13

1.13    ! jonathan    1: /*     $NetBSD: siglist.c,v 1.12 1998/12/01 20:31:00 thorpej Exp $     */
1.7       cgd         2:
1.1       cgd         3: /*
1.7       cgd         4:  * Copyright (c) 1983, 1993
                      5:  *     The Regents of the University of California.  All rights reserved.
1.6       jtc         6:  *
                      7:  * Redistribution and use in source and binary forms, with or without
                      8:  * modification, are permitted provided that the following conditions
                      9:  * are met:
                     10:  * 1. Redistributions of source code must retain the above copyright
                     11:  *    notice, this list of conditions and the following disclaimer.
                     12:  * 2. Redistributions in binary form must reproduce the above copyright
                     13:  *    notice, this list of conditions and the following disclaimer in the
                     14:  *    documentation and/or other materials provided with the distribution.
                     15:  * 3. All advertising materials mentioning features or use of this software
                     16:  *    must display the following acknowledgement:
                     17:  *     This product includes software developed by the University of
                     18:  *     California, Berkeley and its contributors.
                     19:  * 4. Neither the name of the University nor the names of its contributors
                     20:  *    may be used to endorse or promote products derived from this software
                     21:  *    without specific prior written permission.
                     22:  *
                     23:  * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
                     24:  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
                     25:  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
                     26:  * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
                     27:  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
                     28:  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
                     29:  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
                     30:  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
                     31:  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
                     32:  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
                     33:  * SUCH DAMAGE.
1.1       cgd        34:  */
                     35:
1.9       christos   36: #include <sys/cdefs.h>
1.6       jtc        37: #if defined(LIBC_SCCS) && !defined(lint)
1.7       cgd        38: #if 0
                     39: static char sccsid[] = "@(#)siglist.c  8.1 (Berkeley) 6/4/93";
                     40: #else
1.12      thorpej    41: __RCSID("$NetBSD: siglist.c,v 1.11 1998/11/30 20:42:44 thorpej Exp $");
1.7       cgd        42: #endif
1.6       jtc        43: #endif /* LIBC_SCCS and not lint */
1.1       cgd        44:
1.11      thorpej    45: const char *const _sys_siglist[] = {
1.6       jtc        46:        "Signal 0",
                     47:        "Hangup",                       /* SIGHUP */
                     48:        "Interrupt",                    /* SIGINT */
                     49:        "Quit",                         /* SIGQUIT */
                     50:        "Illegal instruction",          /* SIGILL */
                     51:        "Trace/BPT trap",               /* SIGTRAP */
                     52:        "Abort trap",                   /* SIGABRT */
                     53:        "EMT trap",                     /* SIGEMT */
                     54:        "Floating point exception",     /* SIGFPE */
                     55:        "Killed",                       /* SIGKILL */
                     56:        "Bus error",                    /* SIGBUS */
                     57:        "Segmentation fault",           /* SIGSEGV */
                     58:        "Bad system call",              /* SIGSYS */
                     59:        "Broken pipe",                  /* SIGPIPE */
                     60:        "Alarm clock",                  /* SIGALRM */
                     61:        "Terminated",                   /* SIGTERM */
                     62:        "Urgent I/O condition",         /* SIGURG */
1.7       cgd        63:        "Suspended (signal)",           /* SIGSTOP */
                     64:        "Suspended",                    /* SIGTSTP */
1.6       jtc        65:        "Continued",                    /* SIGCONT */
                     66:        "Child exited",                 /* SIGCHLD */
                     67:        "Stopped (tty input)",          /* SIGTTIN */
                     68:        "Stopped (tty output)",         /* SIGTTOU */
                     69:        "I/O possible",                 /* SIGIO */
                     70:        "Cputime limit exceeded",       /* SIGXCPU */
                     71:        "Filesize limit exceeded",      /* SIGXFSZ */
                     72:        "Virtual timer expired",        /* SIGVTALRM */
                     73:        "Profiling timer expired",      /* SIGPROF */
                     74:        "Window size changes",          /* SIGWINCH */
                     75:        "Information request",          /* SIGINFO */
                     76:        "User defined signal 1",        /* SIGUSR1 */
                     77:        "User defined signal 2"         /* SIGUSR2 */
                     78: };

CVSweb <webmaster@jp.NetBSD.org>