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 * Portions Copyright 2008 John Birrell jb@freebsd.org 23 * 24 * $FreeBSD: releng/11.0/cddl/lib/libdtrace/signal.d 179189 2008-05-22 04:26:42Z jb $ 25 */ 26 27inline int SIGHUP = 1; 28#pragma D binding "1.0" SIGHUP 29inline int SIGINT = 2; 30#pragma D binding "1.0" SIGINT 31inline int SIGQUIT = 3; 32#pragma D binding "1.0" SIGQUIT 33inline int SIGILL = 4; 34#pragma D binding "1.0" SIGILL 35inline int SIGTRAP = 5; 36#pragma D binding "1.0" SIGTRAP 37inline int SIGABRT = 6; 38#pragma D binding "1.0" SIGABRT 39inline int SIGEMT = 7; 40#pragma D binding "1.0" SIGEMT 41inline int SIGFPE = 8; 42#pragma D binding "1.0" SIGFPE 43inline int SIGKILL = 9; 44#pragma D binding "1.0" SIGKILL 45inline int SIGBUS = 10; 46#pragma D binding "1.0" SIGBUS 47inline int SIGSEGV = 11; 48#pragma D binding "1.0" SIGSEGV 49inline int SIGSYS = 12; 50#pragma D binding "1.0" SIGSYS 51inline int SIGPIPE = 13; 52#pragma D binding "1.0" SIGPIPE 53inline int SIGALRM = 14; 54#pragma D binding "1.0" SIGALRM 55inline int SIGTERM = 15; 56#pragma D binding "1.0" SIGTERM 57inline int SIGURG = 16; 58#pragma D binding "1.0" SIGURG 59inline int SIGSTOP = 17; 60#pragma D binding "1.0" SIGSTOP 61inline int SIGTSTP = 18; 62#pragma D binding "1.0" SIGTSTP 63inline int SIGCONT = 19; 64#pragma D binding "1.0" SIGCONT 65inline int SIGCHLD = 20; 66#pragma D binding "1.0" SIGCHLD 67inline int SIGTTIN = 21; 68#pragma D binding "1.0" SIGTTIN 69inline int SIGTTOU = 22; 70#pragma D binding "1.0" SIGTTOU 71inline int SIGIO = 23; 72#pragma D binding "1.0" SIGIO 73inline int SIGXCPU = 24; 74#pragma D binding "1.0" SIGXCPU 75inline int SIGXFSZ = 25; 76#pragma D binding "1.0" SIGXFSZ 77inline int SIGVTALRM = 26; 78#pragma D binding "1.0" SIGVTALRM 79inline int SIGPROF = 27; 80#pragma D binding "1.0" SIGPROF 81inline int SIGWINCH = 28; 82#pragma D binding "1.0" SIGWINCH 83inline int SIGINFO = 29; 84#pragma D binding "1.0" SIGINFO 85inline int SIGUSR1 = 30; 86#pragma D binding "1.0" SIGUSR1 87inline int SIGUSR2 = 31; 88#pragma D binding "1.0" SIGUSR2 89 90inline int CLD_EXITED = 1; 91#pragma D binding "1.0" CLD_EXITED 92inline int CLD_KILLED = 2; 93#pragma D binding "1.0" CLD_KILLED 94inline int CLD_DUMPED = 3; 95#pragma D binding "1.0" CLD_DUMPED 96inline int CLD_TRAPPED = 4; 97#pragma D binding "1.0" CLD_TRAPPED 98inline int CLD_STOPPED = 5; 99#pragma D binding "1.0" CLD_STOPPED 100inline int CLD_CONTINUED = 6; 101#pragma D binding "1.0" CLD_CONTINUED 102