blob: a3cb7a3d68e1859daa9593a28a38830d27e3cff5 [file] [log] [blame]
The Android Open Source Projecta27d2ba2008-10-21 07:00:00 -07001/*
2 * Copyright (C) 2008 The Android Open Source Project
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in
12 * the documentation and/or other materials provided with the
13 * distribution.
14 *
15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
16 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
17 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
18 * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
19 * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
20 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
21 * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
22 * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
23 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
24 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
25 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 */
28/* this header is used to define signal constants and names; it might be included several times */
29#ifndef __BIONIC_SIGDEF
30#error __BIONIC_SIGDEF not defined
31#endif
32
33__BIONIC_SIGDEF(SIGHUP,1,"Hangup")
34__BIONIC_SIGDEF(SIGINT,2,"Interrupt")
35__BIONIC_SIGDEF(SIGQUIT,3,"Quit")
36__BIONIC_SIGDEF(SIGILL,4,"Illegal instruction")
37__BIONIC_SIGDEF(SIGTRAP,5,"Trap")
38__BIONIC_SIGDEF(SIGABRT,6,"Aborted")
39__BIONIC_SIGDEF(SIGBUS,7,"Bus error")
40__BIONIC_SIGDEF(SIGFPE,8,"Floating point exception")
41__BIONIC_SIGDEF(SIGKILL,9,"Killed")
42__BIONIC_SIGDEF(SIGUSR1,10,"User signal 1")
43__BIONIC_SIGDEF(SIGSEGV,11,"Segmentation fault")
44__BIONIC_SIGDEF(SIGUSR2,12,"User signal 2")
45__BIONIC_SIGDEF(SIGPIPE,13,"Broken pipe")
46__BIONIC_SIGDEF(SIGALRM,14,"Alarm clock")
47__BIONIC_SIGDEF(SIGTERM,15,"Terminated")
48__BIONIC_SIGDEF(SIGSTKFLT,16,"Stack fault")
49__BIONIC_SIGDEF(SIGCHLD,17,"Child exited")
50__BIONIC_SIGDEF(SIGCONT,18,"Continue")
51__BIONIC_SIGDEF(SIGSTOP,19,"Stopped (signal)")
52__BIONIC_SIGDEF(SIGTSTP,20,"Stopped")
53__BIONIC_SIGDEF(SIGTTIN,21,"Stopped (tty input)")
54__BIONIC_SIGDEF(SIGTTOU,22,"Stopper (tty output)")
55__BIONIC_SIGDEF(SIGURG,23,"Urgent I/O condition")
56__BIONIC_SIGDEF(SIGXCPU,24,"CPU time limit exceeded")
57__BIONIC_SIGDEF(SIGXFSZ,25,"File size limit exceeded")
58__BIONIC_SIGDEF(SIGVTALRM,26,"Virtual timer expired")
59__BIONIC_SIGDEF(SIGPROF,27,"Profiling timer expired")
60__BIONIC_SIGDEF(SIGWINCH,28,"Window size changed")
61__BIONIC_SIGDEF(SIGIO,29,"I/O possible")
62__BIONIC_SIGDEF(SIGPWR,30,"Power failure")
63__BIONIC_SIGDEF(SIGSYS,31,"Bad system call")
64
65#undef __BIONIC_SIGDEF