Skip to content
Snippets Groups Projects
Select Git revision
  • 76a79e300e592d29ca47c2f90d121547c0d45a23
  • master default protected
  • 9.0
  • 8.0
  • nt-tools
  • 7.8
  • 7.6
  • 7.4
  • 7.2
  • 7.0
  • 0.6
  • rosuav/latex-markdown-renderer
  • rxnpatch/rxnpatch
  • marcus/gobject-introspection
  • rxnpatch/8.0
  • rosuav/pre-listening-ports
  • rosuav/async-annotations
  • rosuav/pgsql-ssl
  • rxnpatch/rxnpatch-broken/2023-10-06T094250
  • grubba/fdlib
  • grubba/wip/sakura/8.0
  • v8.0.2020
  • v8.0.2018
  • v8.0.2016
  • v8.0.2014
  • v8.0.2012
  • v8.0.2008
  • v8.0.2006
  • v8.0.2004
  • v8.0.2002
  • v8.0.2000
  • v8.0.1998
  • v8.0.1996
  • v8.0.1994
  • v8.0.1992
  • v8.0.1990
  • v8.0.1988
  • v8.0.1986
  • rxnpatch/clusters/8.0/2025-04-29T124414
  • rxnpatch/2025-04-29T124414
  • v8.0.1984
41 results

signal_handler.c

Blame
  • signal_handler.c 35.72 KiB
    /*\
    ||| This file a part of Pike, and is copyright by Fredrik Hubinette
    ||| Pike is distributed as GPL (General Public License)
    ||| See the files COPYING and DISCLAIMER for more information.
    \*/
    #include "global.h"
    #include "fdlib.h"
    #include "fd_control.h"
    #include "svalue.h"
    #include "interpret.h"
    #include "stralloc.h"
    #include "constants.h"
    #include "pike_macros.h"
    #include "backend.h"
    #include "error.h"
    #include "callback.h"
    #include "mapping.h"
    #include "threads.h"
    #include "signal_handler.h"
    #include "module_support.h"
    #include "operators.h"
    #include "builtin_functions.h"
    #include <signal.h>
    
    RCSID("$Id: signal_handler.c,v 1.55 1998/04/24 18:20:59 hubbe Exp $");
    
    #ifdef HAVE_PASSWD_H
    # include <passwd.h>
    #endif
    
    #ifdef HAVE_GROUP_H
    # include <group.h>
    #endif
    
    #ifdef HAVE_PWD_H
    # include <pwd.h>
    #endif
    
    #ifdef HAVE_GRP_H
    # include <grp.h>
    #endif
    
    #ifdef HAVE_WINBASE_H
    #include <winbase.h>
    #endif
    
    #ifdef HAVE_SYS_WAIT_H
    #include <sys/wait.h>
    #endif
    
    #ifdef HAVE_UNISTD_H
    #include <unistd.h>
    #endif
    
    #ifdef HAVE_STRINGS_H
    #include <strings.h>
    #endif
    #ifdef HAVE_STRING_H
    #include <string.h>
    #endif
    
    #ifdef NSIG
    #define MAX_SIGNALS NSIG
    #else
    #define MAX_SIGNALS 256
    #endif
    
    #define SIGNAL_BUFFER 16384
    #define WAIT_BUFFER 4096