1 /* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * 9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10 * or http://www.opensolaris.org/os/licensing. 11 * See the License for the specific language governing permissions 12 * and limitations under the License. 13 * 14 * When distributing Covered Code, include this CDDL HEADER in each 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ 22 /* 23 * Copyright 1997 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ 26 27 /* Copyright (c) 1984, 1986, 1987, 1988, 1989 AT&T */ 28 /* All Rights Reserved */ 29 30 /* 31 * University Copyright- Copyright (c) 1982, 1986, 1988 32 * The Regents of the University of California 33 * All Rights Reserved 34 * 35 * University Acknowledgment- Portions of this document are derived from 36 * software developed by the University of California, Berkeley, and its 37 * contributors. 38 */ 39 40 /*LINTLIBRARY*/ 41 42 #include <sys/types.h> 43 #include <signal.h> 44 #include "libc.h" 45 46 #ifndef NSIG 47 #define NSIG 32 48 #endif 49 50 char *sys_siglist[NSIG] = { 51 "Signal 0", 52 "Hangup", /* SIGHUP */ 53 "Interrupt", /* SIGINT */ 54 "Quit", /* SIGQUIT */ 55 "Illegal instruction", /* SIGILL */ 56 "Trace/BPT trap", /* SIGTRAP */ 57 "Abort", /* SIGABRT */ 58 "Emulator trap", /* SIGEMT */ 59 "Arithmetic exception", /* SIGFPE */ 60 "Killed", /* SIGKILL */ 61 "Bus error", /* SIGBUS */ 62 "Segmentation fault", /* SIGSEGV */ 63 "Bad system call", /* SIGSYS */ 64 "Broken pipe", /* SIGPIPE */ 65 "Alarm clock", /* SIGALRM */ 66 "Terminated", /* SIGTERM */ 67 "User defined signal 1", /* SIGUSR1 */ 68 "User defined signal 2", /* SIGUSR2 */ 69 "Child status change", /* SIGCLD */ 70 "Power-fail restart", /* SIGPWR */ 71 "Window changed", /* SIGWINCH */ 72 "Handset, line status change", /* SIGURG */ 73 "Pollable event occurred", /* SIGPOLL */ 74 "Stopped (signal)", /* SIGSTOP */ 75 "Stopped", /* SIGTSTP */ 76 "Continued", /* SIGCONT */ 77 "Stopped (tty input)", /* SIGTTIN */ 78 "Stopped (tty output)", /* SIGTTOU */ 79 "Virtual timer expired", /* SIGVTALRM */ 80 "Profiling timer expired", /* SIGPROF */ 81 "Cputime limit exceeded", /* SIGXCPU */ 82 "Filesize limit exceeded", /* SIGXFSZ */ 83 "No runnable lwp", /* SIGWAITING */ 84 "Inter-lwp signal", /* SIGLWP */ 85 }; 86