~ubuntu-branches/ubuntu/maverick/texinfo/maverick

« back to all changes in this revision

Viewing changes to info/signals.h

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Preining
  • Date: 2005-10-28 15:10:30 UTC
  • mto: (2.1.1 dapper) (3.1.4 hardy)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: james.westby@ubuntu.com-20051028151030-9nsf2s2k2z3fktjt
Tags: upstream-4.8
ImportĀ upstreamĀ versionĀ 4.8

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* signals.h -- Header to include system dependent signal definitions.
2
 
   $Id: signals.h,v 1.3 1997/07/15 18:35:59 karl Exp $
3
 
 
4
 
   This file is part of GNU Info, a program for reading online documentation
5
 
   stored in Info format.
6
 
 
7
 
   Copyright (C) 1993, 94, 95, 97 Free Software Foundation, Inc.
 
1
/* signals.h -- header to include system dependent signal definitions.
 
2
   $Id: signals.h,v 1.2 2004/04/11 17:56:46 karl Exp $
 
3
 
 
4
   Copyright (C) 1993, 1994, 1995, 1997, 2002, 2004 Free Software Foundation, Inc.
8
5
 
9
6
   This program is free software; you can redistribute it and/or modify
10
7
   it under the terms of the GNU General Public License as published by
20
17
   along with this program; if not, write to the Free Software
21
18
   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22
19
 
23
 
   Written by Brian Fox (bfox@ai.mit.edu). */
 
20
   Originally written by Brian Fox (bfox@ai.mit.edu). */
24
21
 
25
22
#ifndef INFO_SIGNALS_H
26
23
#define INFO_SIGNALS_H
37
34
#  define sigmask(x) (1 << ((x)-1))
38
35
#endif /* !HAVE_SIGPROCMASK && !sigmask */
39
36
 
40
 
#if !defined (HAVE_SIGPROCMASK)
 
37
/* Without SA_NOCLDSTOP, sigset_t might end up being undefined even
 
38
   though we have sigprocmask, on older systems, according to Nelson
 
39
   Beebe.  The test is from coreutils/sort.c, via Paul Eggert.  */
 
40
#if !defined (HAVE_SIGPROCMASK) || !defined (SA_NOCLDSTOP)
41
41
#  if !defined (SIG_BLOCK)
42
42
#    define SIG_UNBLOCK 1
43
43
#    define SIG_BLOCK   2