VM: simplify slab allocator
[minix.git] / lib / libc / compat / gen / compat_signame.c
blobb2dcddc67127f75ab35e60ef673c3cd7fca66f98
1 /* $NetBSD: compat_signame.c,v 1.1 2005/09/13 01:44:09 christos Exp $ */
3 /*
4 * Copyright (c) 1983 Regents of the University of California.
5 * All rights reserved.
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. Neither the name of the University nor the names of its contributors
16 * may be used to endorse or promote products derived from this software
17 * without specific prior written permission.
19 * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
20 * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 * SUCH DAMAGE.
32 #include <sys/cdefs.h>
33 #if defined(LIBC_SCCS) && !defined(lint)
34 #if 0
35 static char sccsid[] = "from: @(#)siglist.c 5.6 (Berkeley) 2/23/91";*/
36 #else
37 __RCSID("$NetBSD: compat_signame.c,v 1.1 2005/09/13 01:44:09 christos Exp $");
38 #endif
39 #endif /* LIBC_SCCS and not lint */
41 __warn_references(sys_signame,
42 "warning: reference to compatibility sys_signame[]; include <signal.h> for correct reference")
44 const char *const sys_signame[] = {
45 "Signal 0", /* 0 */
46 "HUP", /* 1 SIGHUP */
47 "INT", /* 2 SIGINT */
48 "QUIT", /* 3 SIGQUIT */
49 "ILL", /* 4 SIGILL */
50 "TRAP", /* 5 SIGTRAP */
51 "ABRT", /* 6 SIGABRT */
52 "EMT", /* 7 SIGEMT */
53 "FPE", /* 8 SIGFPE */
54 "KILL", /* 9 SIGKILL */
55 "BUS", /* 10 SIGBUS */
56 "SEGV", /* 11 SIGSEGV */
57 "SYS", /* 12 SIGSYS */
58 "PIPE", /* 13 SIGPIPE */
59 "ALRM", /* 14 SIGALRM */
60 "TERM", /* 15 SIGTERM */
61 "URG", /* 16 SIGURG */
62 "STOP", /* 17 SIGSTOP */
63 "TSTP", /* 18 SIGTSTP */
64 "CONT", /* 19 SIGCONT */
65 "CHLD", /* 20 SIGCHLD */
66 "TTIN", /* 21 SIGTTIN */
67 "TTOU", /* 22 SIGTTOU */
68 "IO", /* 23 SIGIO */
69 "XCPU", /* 24 SIGXCPU */
70 "XFSZ", /* 25 SIGXFSZ */
71 "VTALRM", /* 26 SIGVTALRM */
72 "PROF", /* 27 SIGPROF */
73 "WINCH", /* 28 SIGWINCH */
74 "INFO", /* 29 SIGINFO */
75 "USR1", /* 30 SIGUSR1 */
76 "USR2", /* 31 SIGUSR2 */