home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / lib / gcc-lib / i486-unknown-sco3.2v5.0.0elf / 2.6-95q2 / include / oldstyle / signal.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-12  |  2.1 KB  |  73 lines

  1. /*
  2.  *   Portions Copyright (C) 1983-1995 The Santa Cruz Operation, Inc.
  3.  *        All Rights Reserved.
  4.  *
  5.  *    The information in this file is provided for the exclusive use of
  6.  *    the licensees of The Santa Cruz Operation, Inc.  Such users have the
  7.  *    right to use, modify, and incorporate this code into other products
  8.  *    for purposes authorized by the license agreement provided they include
  9.  *    this notice and the associated copyright notice with any such product.
  10.  *    The information in this file is provided "AS IS" without warranty.
  11.  */
  12.  
  13. /*    Portions Copyright (c) 1990, 1991, 1992, 1993 UNIX System Laboratories, Inc. */
  14. /*    Portions Copyright (c) 1979 - 1990 AT&T   */
  15. /*      All Rights Reserved   */
  16.  
  17. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF          */
  18. /*    UNIX System Laboratories, Inc.                          */
  19. /*    The copyright notice above does not evidence any        */
  20. /*    actual or intended publication of such source code.     */
  21.  
  22. #ifndef _SIGNAL_H
  23. #ifndef _PARAMS
  24. #if defined(__STDC__) || defined(__cplusplus)
  25. #define _PARAMS(ARGS) ARGS
  26. #else
  27. #define _PARAMS(ARGS) ()
  28. #endif
  29. #endif /* _PARAMS */
  30. #define _SIGNAL_H
  31.  
  32. #ident "oldstyle @(#) signal.h 20.3 94/12/19 "
  33.  
  34. #ifndef _SIG_ATOMIC_T
  35. #define _SIG_ATOMIC_T
  36.    /* atomic entity for signal handling  */
  37. typedef int sig_atomic_t;
  38. #endif
  39.  
  40. extern const char * const _sys_siglist[];
  41. extern const int _sys_nsig;
  42.  
  43. #ifndef    _SYS_SIGNAL_H
  44. #include <sys/signal.h>
  45. #endif
  46.  
  47. #if !defined(_SYS_TYPES_H)
  48. #include <sys/types.h>
  49. #endif
  50.  
  51. extern void (*bsd_signal())();
  52. extern void (*signal())();
  53. extern int (sigfillset)();
  54. extern int (sigemptyset)();
  55. extern int (sigaddset)();
  56. extern int (sigdelset)();
  57. extern int (sigismember)();
  58. extern int sigpending _PARAMS((sigset_t *));
  59. extern int sigsuspend _PARAMS((sigset_t *));
  60. extern int sigprocmask _PARAMS((int, const sigset_t *, sigset_t *));
  61. extern int kill _PARAMS((short , int));
  62. extern int killpg _PARAMS((int, int));
  63. extern int sigaction _PARAMS((int, const struct sigaction *, struct sigaction *));
  64. extern int raise _PARAMS((int));
  65. extern  void (*sigset())();
  66. extern  int (*ssignal())();
  67.  
  68.  
  69. #define raise(sig)  kill(getpid(), sig)
  70.  
  71. #endif /* _SIGNAL_H  */
  72.  
  73.