Blame sysdeps/unix/sysv/linux/hppa/bits/signum.h

Packit 6c4009
/* Signal number definitions.  Linux/HPPA version.
Packit 6c4009
   Copyright (C) 1995-2018 Free Software Foundation, Inc.
Packit 6c4009
   This file is part of the GNU C Library.
Packit 6c4009
Packit 6c4009
   The GNU C Library is free software; you can redistribute it and/or
Packit 6c4009
   modify it under the terms of the GNU Lesser General Public
Packit 6c4009
   License as published by the Free Software Foundation; either
Packit 6c4009
   version 2.1 of the License, or (at your option) any later version.
Packit 6c4009
Packit 6c4009
   The GNU C Library is distributed in the hope that it will be useful,
Packit 6c4009
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit 6c4009
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit 6c4009
   Lesser General Public License for more details.
Packit 6c4009
Packit 6c4009
   You should have received a copy of the GNU Lesser General Public
Packit 6c4009
   License along with the GNU C Library.  If not, see
Packit 6c4009
   <http://www.gnu.org/licenses/>.  */
Packit 6c4009
Packit 6c4009
#ifndef _BITS_SIGNUM_H
Packit 6c4009
#define _BITS_SIGNUM_H 1
Packit 6c4009
Packit 6c4009
#ifndef _SIGNAL_H
Packit 6c4009
#error "Never include <bits/signum.h> directly; use <signal.h> instead."
Packit 6c4009
#endif
Packit 6c4009
Packit 6c4009
#include <bits/signum-generic.h>
Packit 6c4009
Packit 6c4009
/* Adjustments and additions to the signal number constants for
Packit 6c4009
   Linux/HPPA.  These values were originally chosen for HP/UX
Packit 6c4009
   compatibility, but were renumbered as of kernel 3.17 and glibc 2.21
Packit 6c4009
   to accommodate software (notably systemd) that assumed at least 29
Packit 6c4009
   real-time signal numbers would be available.  SIGEMT and SIGLOST
Packit 6c4009
   were removed, and the values of SIGSTKFLT, SIGXCPU, XIGXFSZ, and
Packit 6c4009
   SIGSYS were changed, enabling __SIGRTMIN to be 32.  */
Packit 6c4009
Packit 6c4009
#define	SIGSTKFLT	 7	/* Stack fault (obsolete).  */
Packit 6c4009
#define	SIGPWR		19	/* Power failure imminent.  */
Packit 6c4009
Packit 6c4009
#undef	SIGXCPU
Packit 6c4009
#define	SIGXCPU		12
Packit 6c4009
#undef	SIGUSR1
Packit 6c4009
#define	SIGUSR1		16
Packit 6c4009
#undef	SIGUSR2
Packit 6c4009
#define SIGUSR2		17
Packit 6c4009
#undef	SIGCHLD
Packit 6c4009
#define	SIGCHLD		18
Packit 6c4009
#undef	SIGVTALRM
Packit 6c4009
#define	SIGVTALRM	20
Packit 6c4009
#undef	SIGPROF
Packit 6c4009
#define	SIGPROF		21
Packit 6c4009
#undef	SIGPOLL
Packit 6c4009
#define	SIGPOLL		22
Packit 6c4009
#undef	SIGWINCH
Packit 6c4009
#define	SIGWINCH	23
Packit 6c4009
#undef	SIGSTOP
Packit 6c4009
#define	SIGSTOP		24
Packit 6c4009
#undef	SIGTSTP
Packit 6c4009
#define	SIGTSTP		25
Packit 6c4009
#undef	SIGCONT
Packit 6c4009
#define	SIGCONT		26
Packit 6c4009
#undef	SIGTTIN
Packit 6c4009
#define	SIGTTIN		27
Packit 6c4009
#undef	SIGTTOU
Packit 6c4009
#define	SIGTTOU		28
Packit 6c4009
#undef	SIGURG
Packit 6c4009
#define	SIGURG		29
Packit 6c4009
#undef	SIGXFSZ
Packit 6c4009
#define	SIGXFSZ		30
Packit 6c4009
#undef	SIGSYS
Packit 6c4009
#define SIGSYS		31
Packit 6c4009
Packit 6c4009
#undef	__SIGRTMAX
Packit 6c4009
#define __SIGRTMAX	64
Packit 6c4009
Packit 6c4009
#endif	/* <signal.h> included.  */