summaryrefslogtreecommitdiff
path: root/sysdeps/solaris
diff options
context:
space:
mode:
authorMartin Baulig <martin@home-of-linux.org>2000-02-06 18:20:20 +0000
committerMartin Baulig <martin@src.gnome.org>2000-02-06 18:20:20 +0000
commit0f3babc8e97a372a868fd367fee6b98e9566d353 (patch)
tree77367544ff28fe6543d8071dded29dd62e509a21 /sysdeps/solaris
parent55ff827b504712f3806b21d250695b33ed96114e (diff)
downloadlibgtop-0f3babc8e97a372a868fd367fee6b98e9566d353.tar.gz
Moved here from the sysdeps directories.
2000-02-06 Martin Baulig <martin@home-of-linux.org> * lib/sysdeps-init-*.c (glibtop_sys_siglist): Moved here from the sysdeps directories. * sysdeps/*/siglist.c: Removed.
Diffstat (limited to 'sysdeps/solaris')
-rw-r--r--sysdeps/solaris/Makefile.am2
-rw-r--r--sysdeps/solaris/siglist.c76
2 files changed, 1 insertions, 77 deletions
diff --git a/sysdeps/solaris/Makefile.am b/sysdeps/solaris/Makefile.am
index 68d6dff1..b87d1e67 100644
--- a/sysdeps/solaris/Makefile.am
+++ b/sysdeps/solaris/Makefile.am
@@ -4,7 +4,7 @@ INCLUDES = @INCLUDES@
lib_LTLIBRARIES = libgtop_sysdeps.la libgtop_sysdeps_suid.la
-libgtop_sysdeps_la_SOURCES = open.c close.c siglist.c cpu.c mem.c \
+libgtop_sysdeps_la_SOURCES = open.c close.c cpu.c mem.c \
safeio.c swap.c uptime.c loadavg.c \
proclist.c procstate.c procuid.c \
proctime.c procmem.c procsignal.c \
diff --git a/sysdeps/solaris/siglist.c b/sysdeps/solaris/siglist.c
deleted file mode 100644
index c5e5073a..00000000
--- a/sysdeps/solaris/siglist.c
+++ /dev/null
@@ -1,76 +0,0 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 4 -*- */
-
-/* $Id$ */
-
-/* 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 <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, "SIGUSR1", "User Signal 1" },
- { 17, "SIGUSR2", "User Signal 2" },
- { 18, "SIGCHLD", "Child Status Changed" },
- { 19, "SIGPWR", "Power-Fail/Restart" },
- { 20, "SIGWINCH","Window Size Change" },
- { 21, "SIGURG", "Urgent Socket Condition" },
- { 22, "SIGPOLL", "Pollable Event" },
- { 23, "SIGSTOP", "Stoped (signal)" },
- { 24, "SIGTSTP", "Stopped (user)" },
- { 25, "SIGCONT", "Continued" },
- { 26, "SIGTTIN", "Stopped (tty input)" },
- { 27, "SIGTTOU", "Stopped (tty output)" },
- { 28, "SIGVTALRM","Virtual Timer Expired" },
- { 29, "SIGPROF", "Profiling Timer Expired" },
- { 30, "SIGXCPU", "Cpu Limit Exceeded" },
- { 31, "SIGXFSZ", "File Size Limit Exceeded" },
- { 32, "SIGWAITING","No runnable lwp" },
- { 33, "SIGLWP", "Inter-lwp signal" },
- { 34, "SIGFREEZE","Checkpoint Freeze" },
- { 35, "SIGTHAW", "Checkpoint Thaw" },
- { 36, "SIGCANCEL","Thread Cancelation" },
- { 37, "SIGLOST", "Resource Lost" },
- { 38, "SIGRTMIN","First Realtime Signal" },
- { 39, "SIGRTMIN+1", "Second Realtime Signal" },
- { 40, "SIGRTMIN+2", "Third Realtime Signal" },
- { 41, "SIGRTMIN+3", "Fourth Realtime Signal" },
- { 42, "SIGRTMAX-3", "Fourth Last Realtime Signal" },
- { 43, "SIGRTMAX-2", "Third Last Realtime Signal" },
- { 44, "SIGRTMAX-1", "Second Last Realtime Signal" },
- { 45, "SIGRTMAX", "Last Realtime Signal" },
- { 0, NULL, NULL }
-};