ibcs2_signal.h (12256) | ibcs2_signal.h (48620) |
---|---|
1/* $NetBSD: ibcs2_signal.h,v 1.7 1995/08/14 02:26:01 mycroft Exp $ */ 2 3/* 4 * Copyright (c) 1994, 1995 Scott Bartram 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 69 unchanged lines hidden (view full) --- 78 79#define IBCS2_SIGNO(x) ((x) & IBCS2_SIGNO_MASK) 80#define IBCS2_SIGCALL(x) ((x) & ~IBCS2_SIGNO_MASK) 81 82typedef long ibcs2_sigset_t; 83typedef void (*ibcs2_sig_t) __P((int)); 84 85struct ibcs2_sigaction { | 1/* $NetBSD: ibcs2_signal.h,v 1.7 1995/08/14 02:26:01 mycroft Exp $ */ 2 3/* 4 * Copyright (c) 1994, 1995 Scott Bartram 5 * All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions --- 69 unchanged lines hidden (view full) --- 78 79#define IBCS2_SIGNO(x) ((x) & IBCS2_SIGNO_MASK) 80#define IBCS2_SIGCALL(x) ((x) & ~IBCS2_SIGNO_MASK) 81 82typedef long ibcs2_sigset_t; 83typedef void (*ibcs2_sig_t) __P((int)); 84 85struct ibcs2_sigaction { |
86 ibcs2_sig_t sa_handler; 87 ibcs2_sigset_t sa_mask; 88 int sa_flags; | 86 ibcs2_sig_t isa_handler; 87 ibcs2_sigset_t isa_mask; 88 int isa_flags; |
89}; 90 91#define IBCS2_SIG_DFL ((ibcs2_sig_t)0) 92#define IBCS2_SIG_ERR ((ibcs2_sig_t)-1) 93#define IBCS2_SIG_IGN ((ibcs2_sig_t)1) 94#define IBCS2_SIG_HOLD ((ibcs2_sig_t)2) 95 96#define IBCS2_SIG_SETMASK 0 97#define IBCS2_SIG_BLOCK 1 98#define IBCS2_SIG_UNBLOCK 2 99 100/* sa_flags */ 101#define IBCS2_SA_NOCLDSTOP 1 102 103extern int bsd_to_ibcs2_sig[]; 104 105#endif /* _IBCS2_SIGNAL_H */ | 89}; 90 91#define IBCS2_SIG_DFL ((ibcs2_sig_t)0) 92#define IBCS2_SIG_ERR ((ibcs2_sig_t)-1) 93#define IBCS2_SIG_IGN ((ibcs2_sig_t)1) 94#define IBCS2_SIG_HOLD ((ibcs2_sig_t)2) 95 96#define IBCS2_SIG_SETMASK 0 97#define IBCS2_SIG_BLOCK 1 98#define IBCS2_SIG_UNBLOCK 2 99 100/* sa_flags */ 101#define IBCS2_SA_NOCLDSTOP 1 102 103extern int bsd_to_ibcs2_sig[]; 104 105#endif /* _IBCS2_SIGNAL_H */ |