63 lines
2.5 KiB
C
63 lines
2.5 KiB
C
/* $OpenBSD: siglist.c,v 1.2 2011/05/23 19:35:56 jasper Exp $ */
|
|
|
|
/* Copyright (C) 1998-99 Martin Baulig
|
|
This file is part of LibGTop 1.0.
|
|
|
|
Contributed by Martin Baulig <martin@home-of-linux.org>, April 1998.
|
|
|
|
LibGTop is free software; you can redistribute it and/or modify it
|
|
under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License,
|
|
or (at your option) any later version.
|
|
|
|
LibGTop is distributed in the hope that it will be useful, but WITHOUT
|
|
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with LibGTop; see the file COPYING. If not, write to the
|
|
Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
#include <config.h>
|
|
#include <glibtop.h>
|
|
#include <glibtop/signal.h>
|
|
|
|
const glibtop_signame glibtop_sys_siglist [] =
|
|
{ { 1, "SIGHUP", "Hangup" },
|
|
{ 2, "SIGINT", "Interrupt" },
|
|
{ 3, "SIGQUIT", "Quit" },
|
|
{ 4, "SIGILL", "Illegal Instruction" },
|
|
{ 5, "SIGTRAP", "Trace/Breakpoint Trap" },
|
|
{ 6, "SIGABRT", "Abort" },
|
|
{ 7, "SIGEMT", "Emulation Trap" },
|
|
{ 8, "SIGFPE", "Arithmetic Exception" },
|
|
{ 9, "SIGKILL", "Killed" },
|
|
{ 10, "SIGBUS", "Bus Error" },
|
|
{ 11, "SIGSEGV", "Segmentation Fault" },
|
|
{ 12, "SIGSYS", "Bad System Call" },
|
|
{ 13, "SIGPIPE", "Broken Pipe" },
|
|
{ 14, "SIGALRM", "Alarm Clock" },
|
|
{ 15, "SIGTERM", "Terminated" },
|
|
{ 16, "SIGURG", "Urgent Condition Present On Socket" },
|
|
{ 17, "SIGSTOP", "Stop (cannot be caught or ignored)" },
|
|
{ 18, "SIGTSTP", "Stop Signal Generated From Keyboard" },
|
|
{ 19, "SIGCONT", "Continue After Stop" },
|
|
{ 20, "SIGCHLD", "Child Status Has Changed" },
|
|
{ 21, "SIGTTIN", "Background Read Attempted From Control Terminal" },
|
|
{ 22, "SIGTTOU", "Background Write Attempted To Control Terminal" },
|
|
{ 23, "SIGIO", "I/O Is Possible On A Descriptor" },
|
|
{ 24, "SIGXCPU", "CPU Time Limit Exceeded" },
|
|
{ 25, "SIGXFSZ", "File Size Limit Exceeded" },
|
|
{ 26, "SIGVTALRM","Virtual Time Alarm" },
|
|
{ 27, "SIGPROF", "Profiling Timer Alarm" },
|
|
{ 28, "SIGWINCH","Window Size Change" },
|
|
{ 29, "SIGINFO", "Status Request From Keyboard" },
|
|
{ 30, "SIGUSR1", "User Defined Signal 1" },
|
|
{ 31, "SIGUSR2", "User Defined Signal 2" },
|
|
{ 32, "SIGTHR", "Thread Interrupt" },
|
|
{ 0, NULL, NULL }
|
|
};
|