Home | History | Annotate | Download | only in sys
      1 /*
      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
     66