[BACK]Return to siglist.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libc / gen

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libc/gen/siglist.c between version 1.1.1.1 and 1.1.1.2

version 1.1.1.1, 1993/03/21 09:45:37 version 1.1.1.2, 1995/02/25 09:12:35
Line 1 
Line 1 
 /*  /*
  * Copyright (c) 1983 Regents of the University of California.   * Copyright (c) 1983, 1993
  * All rights reserved.   *      The Regents of the University of California.  All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions   * modification, are permitted provided that the following conditions
Line 32 
Line 32 
  */   */
   
 #if defined(LIBC_SCCS) && !defined(lint)  #if defined(LIBC_SCCS) && !defined(lint)
 static char sccsid[] = "@(#)siglist.c   5.6 (Berkeley) 2/23/91";  static char sccsid[] = "@(#)siglist.c   8.1 (Berkeley) 6/4/93";
 #endif /* LIBC_SCCS and not lint */  #endif /* LIBC_SCCS and not lint */
   
   #include <sys/cdefs.h>
 #include <signal.h>  #include <signal.h>
 #include <unistd.h>  
   
 char    *sys_siglist[NSIG] = {  const char *const sys_signame[NSIG] = {
           "Signal 0",
           "hup",                          /* SIGHUP */
           "int",                          /* SIGINT */
           "quit",                         /* SIGQUIT */
           "ill",                          /* SIGILL */
           "trap",                         /* SIGTRAP */
           "abrt",                         /* SIGABRT */
           "emt",                          /* SIGEMT */
           "fpe",                          /* SIGFPE */
           "kill",                         /* SIGKILL */
           "bus",                          /* SIGBUS */
           "segv",                         /* SIGSEGV */
           "sys",                          /* SIGSYS */
           "pipe",                         /* SIGPIPE */
           "alrm",                         /* SIGALRM */
           "term",                         /* SIGTERM */
           "urg",                          /* SIGURG */
           "stop",                         /* SIGSTOP */
           "tstp",                         /* SIGTSTP */
           "cont",                         /* SIGCONT */
           "chld",                         /* SIGCHLD */
           "ttin",                         /* SIGTTIN */
           "ttou",                         /* SIGTTOU */
           "io",                           /* SIGIO */
           "xcpu",                         /* SIGXCPU */
           "xfsz",                         /* SIGXFSZ */
           "vtalrm",                       /* SIGVTALRM */
           "prof",                         /* SIGPROF */
           "winch",                        /* SIGWINCH */
           "info",                         /* SIGINFO */
           "usr1",                         /* SIGUSR1 */
           "usr2",                         /* SIGUSR2 */
   };
   
   const char *const sys_siglist[NSIG] = {
         "Signal 0",          "Signal 0",
         "Hangup",                       /* SIGHUP */          "Hangup",                       /* SIGHUP */
         "Interrupt",                    /* SIGINT */          "Interrupt",                    /* SIGINT */
Line 56  char *sys_siglist[NSIG] = {
Line 91  char *sys_siglist[NSIG] = {
         "Alarm clock",                  /* SIGALRM */          "Alarm clock",                  /* SIGALRM */
         "Terminated",                   /* SIGTERM */          "Terminated",                   /* SIGTERM */
         "Urgent I/O condition",         /* SIGURG */          "Urgent I/O condition",         /* SIGURG */
         "Stopped (signal)",             /* SIGSTOP */          "Suspended (signal)",           /* SIGSTOP */
         "Stopped",                      /* SIGTSTP */          "Suspended",                    /* SIGTSTP */
         "Continued",                    /* SIGCONT */          "Continued",                    /* SIGCONT */
         "Child exited",                 /* SIGCHLD */          "Child exited",                 /* SIGCHLD */
         "Stopped (tty input)",          /* SIGTTIN */          "Stopped (tty input)",          /* SIGTTIN */

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.1.1.2

CVSweb <webmaster@jp.NetBSD.org>