signal.d revision 179189
1179189Sjb/* 2179189Sjb * CDDL HEADER START 3179189Sjb * 4179189Sjb * The contents of this file are subject to the terms of the 5179189Sjb * Common Development and Distribution License, Version 1.0 only 6179189Sjb * (the "License"). You may not use this file except in compliance 7179189Sjb * with the License. 8179189Sjb * 9179189Sjb * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10179189Sjb * or http://www.opensolaris.org/os/licensing. 11179189Sjb * See the License for the specific language governing permissions 12179189Sjb * and limitations under the License. 13179189Sjb * 14179189Sjb * When distributing Covered Code, include this CDDL HEADER in each 15179189Sjb * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16179189Sjb * If applicable, add the following below this CDDL HEADER, with the 17179189Sjb * fields enclosed by brackets "[]" replaced with your own identifying 18179189Sjb * information: Portions Copyright [yyyy] [name of copyright owner] 19179189Sjb * 20179189Sjb * CDDL HEADER END 21179189Sjb * 22179189Sjb * Portions Copyright 2008 John Birrell jb@freebsd.org 23179189Sjb * 24179189Sjb * $FreeBSD: head/cddl/lib/libdtrace/signal.d 179189 2008-05-22 04:26:42Z jb $ 25179189Sjb */ 26179189Sjb 27179189Sjbinline int SIGHUP = 1; 28179189Sjb#pragma D binding "1.0" SIGHUP 29179189Sjbinline int SIGINT = 2; 30179189Sjb#pragma D binding "1.0" SIGINT 31179189Sjbinline int SIGQUIT = 3; 32179189Sjb#pragma D binding "1.0" SIGQUIT 33179189Sjbinline int SIGILL = 4; 34179189Sjb#pragma D binding "1.0" SIGILL 35179189Sjbinline int SIGTRAP = 5; 36179189Sjb#pragma D binding "1.0" SIGTRAP 37179189Sjbinline int SIGABRT = 6; 38179189Sjb#pragma D binding "1.0" SIGABRT 39179189Sjbinline int SIGEMT = 7; 40179189Sjb#pragma D binding "1.0" SIGEMT 41179189Sjbinline int SIGFPE = 8; 42179189Sjb#pragma D binding "1.0" SIGFPE 43179189Sjbinline int SIGKILL = 9; 44179189Sjb#pragma D binding "1.0" SIGKILL 45179189Sjbinline int SIGBUS = 10; 46179189Sjb#pragma D binding "1.0" SIGBUS 47179189Sjbinline int SIGSEGV = 11; 48179189Sjb#pragma D binding "1.0" SIGSEGV 49179189Sjbinline int SIGSYS = 12; 50179189Sjb#pragma D binding "1.0" SIGSYS 51179189Sjbinline int SIGPIPE = 13; 52179189Sjb#pragma D binding "1.0" SIGPIPE 53179189Sjbinline int SIGALRM = 14; 54179189Sjb#pragma D binding "1.0" SIGALRM 55179189Sjbinline int SIGTERM = 15; 56179189Sjb#pragma D binding "1.0" SIGTERM 57179189Sjbinline int SIGURG = 16; 58179189Sjb#pragma D binding "1.0" SIGURG 59179189Sjbinline int SIGSTOP = 17; 60179189Sjb#pragma D binding "1.0" SIGSTOP 61179189Sjbinline int SIGTSTP = 18; 62179189Sjb#pragma D binding "1.0" SIGTSTP 63179189Sjbinline int SIGCONT = 19; 64179189Sjb#pragma D binding "1.0" SIGCONT 65179189Sjbinline int SIGCHLD = 20; 66179189Sjb#pragma D binding "1.0" SIGCHLD 67179189Sjbinline int SIGTTIN = 21; 68179189Sjb#pragma D binding "1.0" SIGTTIN 69179189Sjbinline int SIGTTOU = 22; 70179189Sjb#pragma D binding "1.0" SIGTTOU 71179189Sjbinline int SIGIO = 23; 72179189Sjb#pragma D binding "1.0" SIGIO 73179189Sjbinline int SIGXCPU = 24; 74179189Sjb#pragma D binding "1.0" SIGXCPU 75179189Sjbinline int SIGXFSZ = 25; 76179189Sjb#pragma D binding "1.0" SIGXFSZ 77179189Sjbinline int SIGVTALRM = 26; 78179189Sjb#pragma D binding "1.0" SIGVTALRM 79179189Sjbinline int SIGPROF = 27; 80179189Sjb#pragma D binding "1.0" SIGPROF 81179189Sjbinline int SIGWINCH = 28; 82179189Sjb#pragma D binding "1.0" SIGWINCH 83179189Sjbinline int SIGINFO = 29; 84179189Sjb#pragma D binding "1.0" SIGINFO 85179189Sjbinline int SIGUSR1 = 30; 86179189Sjb#pragma D binding "1.0" SIGUSR1 87179189Sjbinline int SIGUSR2 = 31; 88179189Sjb#pragma D binding "1.0" SIGUSR2 89179189Sjb 90179189Sjbinline int CLD_EXITED = 1; 91179189Sjb#pragma D binding "1.0" CLD_EXITED 92179189Sjbinline int CLD_KILLED = 2; 93179189Sjb#pragma D binding "1.0" CLD_KILLED 94179189Sjbinline int CLD_DUMPED = 3; 95179189Sjb#pragma D binding "1.0" CLD_DUMPED 96179189Sjbinline int CLD_TRAPPED = 4; 97179189Sjb#pragma D binding "1.0" CLD_TRAPPED 98179189Sjbinline int CLD_STOPPED = 5; 99179189Sjb#pragma D binding "1.0" CLD_STOPPED 100179189Sjbinline int CLD_CONTINUED = 6; 101179189Sjb#pragma D binding "1.0" CLD_CONTINUED 102