Mercurial > hg > xemacs-beta
comparison src/syssignal.h @ 70:131b0175ea99 r20-0b30
Import from CVS: tag r20-0b30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 09:02:59 +0200 |
parents | bcdc7deadc19 |
children | 54cc21c15cbb |
comparison
equal
deleted
inserted
replaced
69:804d1389bcd6 | 70:131b0175ea99 |
---|---|
86 just signal() for the standard signal-setting operation. | 86 just signal() for the standard signal-setting operation. |
87 Perhaps we should change this to EMACS_SIGNAL(), but that runs | 87 Perhaps we should change this to EMACS_SIGNAL(), but that runs |
88 the risk of someone forgetting this convention and calling | 88 the risk of someone forgetting this convention and calling |
89 signal() directly. */ | 89 signal() directly. */ |
90 | 90 |
91 #ifndef NeXT | 91 #if defined (HAVE_SIGPROCMASK) |
92 | |
93 /* The POSIX way (sigaction, sigprocmask, sigpending, sigsuspend) */ | |
94 | |
92 typedef SIGTYPE (*signal_handler_t) (int); | 95 typedef SIGTYPE (*signal_handler_t) (int); |
93 #endif | |
94 | |
95 #if defined (HAVE_SIGPROCMASK) | |
96 | |
97 /* The POSIX way (sigaction, sigprocmask, sigpending, sigsuspend) */ | |
98 | |
99 extern signal_handler_t sys_do_signal (int signal_number, | 96 extern signal_handler_t sys_do_signal (int signal_number, |
100 signal_handler_t action); | 97 signal_handler_t action); |
101 /* Provide our own version of signal(), that calls sigaction(). The | 98 /* Provide our own version of signal(), that calls sigaction(). The |
102 name is not sys_signal() because a function of that name exists in | 99 name is not sys_signal() because a function of that name exists in |
103 libenergize.a */ | 100 libenergize.a */ |