Home | History | Annotate | Download | only in android
      1 # Copyright 2015 The Chromium Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 """Defines constants for signals that should be supported on devices.
      6 
      7 Note: Obtained by running `kill -l` on a user device.
      8 """
      9 
     10 
     11 SIGHUP = 1  # Hangup
     12 SIGINT = 2  # Interrupt
     13 SIGQUIT = 3  # Quit
     14 SIGILL = 4  # Illegal instruction
     15 SIGTRAP = 5  # Trap
     16 SIGABRT = 6  # Aborted
     17 SIGBUS = 7  # Bus error
     18 SIGFPE = 8  # Floating point exception
     19 SIGKILL = 9  # Killed
     20 SIGUSR1 = 10  # User signal 1
     21 SIGSEGV = 11  # Segmentation fault
     22 SIGUSR2 = 12  # User signal 2
     23 SIGPIPE = 13  # Broken pipe
     24 SIGALRM = 14  # Alarm clock
     25 SIGTERM = 15  # Terminated
     26 SIGSTKFLT = 16  # Stack fault
     27 SIGCHLD = 17  # Child exited
     28 SIGCONT = 18  # Continue
     29 SIGSTOP = 19  # Stopped (signal)
     30 SIGTSTP = 20  # Stopped
     31 SIGTTIN = 21  # Stopped (tty input)
     32 SIGTTOU = 22  # Stopped (tty output)
     33 SIGURG = 23  # Urgent I/O condition
     34 SIGXCPU = 24  # CPU time limit exceeded
     35 SIGXFSZ = 25  # File size limit exceeded
     36 SIGVTALRM = 26  # Virtual timer expired
     37 SIGPROF = 27  # Profiling timer expired
     38 SIGWINCH = 28  # Window size changed
     39 SIGIO = 29  # I/O possible
     40 SIGPWR = 30  # Power failure
     41 SIGSYS = 31  # Bad system call
     42