beos-sig.h   [plain text]

/* This file is used when cross compiling bash to run native on BeOS. */

#ifndef __GNUC__
# error cross compiling requires gcc

/* A translation list so we can be polite to our users.
   Use gcc labelled initializers to set up the array.  Note that
   some entries might wind up being NULL. */

char *signal_names[NSIG + 3] = {
  [0]         "EXIT",
  [SIGUSR1]   "SIGUSR1",
  [SIGUSR2]   "SIGUSR2",
  [NSIG]      "DEBUG",
  [NSIG + 1]  "ERR",
  [NSIG + 2]  (char *)0x0,