Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
glibc/bits/signum.h
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
53 lines (42 sloc)
2.07 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Copyright (C) 1991, 1993, 1996 Free Software Foundation, Inc. | |
This file is part of the GNU C Library. | |
The GNU C Library is free software; you can redistribute it and/or | |
modify it under the terms of the GNU Library General Public License as | |
published by the Free Software Foundation; either version 2 of the | |
License, or (at your option) any later version. | |
The GNU C Library is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of | |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
Library General Public License for more details. | |
You should have received a copy of the GNU Library General Public | |
License along with the GNU C Library; see the file COPYING.LIB. If not, | |
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
Boston, MA 02111-1307, USA. */ | |
#ifdef _SIGNAL_H | |
/* Fake signal functions. */ | |
extern void _sig_ign __P ((int sig)); | |
extern void _sig_dfl __P ((int sig)); | |
#define SIG_ERR ((__sighandler_t) 0) /* Error return. */ | |
#define SIG_DFL _sig_dfl /* Default action. */ | |
#define SIG_IGN _sig_ign /* Ignore signal. */ | |
/* ANSI signals. */ | |
#define SIGABRT 1 /* Abnormal termination. */ | |
#define SIGFPE 2 /* Erroneous arithmetic operation. */ | |
#define SIGILL 3 /* Illegal instruction. */ | |
#define SIGINT 3 /* Interactive attention signal. */ | |
#define SIGSEGV 4 /* Invalid access to storage. */ | |
#define SIGTERM 5 /* Termination request. */ | |
/* POSIX signals. */ | |
#define SIGHUP 6 /* Hangup. */ | |
#define SIGQUIT 7 /* Quit. */ | |
#define SIGPIPE 8 /* Broken pipe. */ | |
#define SIGKILL 9 /* Kill (cannot be blocked, caught, or ignored). */ | |
#define SIGALRM 10 /* Alarm clock. */ | |
#define SIGSTOP 11 /* Stop (cannot be blocked, caught, or ignored). */ | |
#define SIGTSTP 12 /* Keyboard stop. */ | |
#define SIGCONT 13 /* Continue. */ | |
#define SIGCHLD 14 /* Child terminated or stopped. */ | |
#define SIGTTIN 15 /* Background read from control terminal. */ | |
#define SIGTTOU 16 /* Background write to control terminal. */ | |
#endif /* <signal.h> included. */ | |
#define _NSIG 17 |