Mercurial > hg > xemacs-beta
comparison src/syssignal.h @ 8:4b173ad71786 r19-15b5
Import from CVS: tag r19-15b5
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:47:35 +0200 |
parents | 376386a54a3c |
children | bcdc7deadc19 |
comparison
equal
deleted
inserted
replaced
7:c153ca296910 | 8:4b173ad71786 |
---|---|
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 typedef SIGTYPE (*signal_handler_t) (int); | |
92 | |
91 #if defined (HAVE_SIGPROCMASK) | 93 #if defined (HAVE_SIGPROCMASK) |
92 | 94 |
93 /* The POSIX way (sigaction, sigprocmask, sigpending, sigsuspend) */ | 95 /* The POSIX way (sigaction, sigprocmask, sigpending, sigsuspend) */ |
94 | 96 |
95 typedef SIGTYPE (*signal_handler_t) (int); | |
96 extern signal_handler_t sys_do_signal (int signal_number, | 97 extern signal_handler_t sys_do_signal (int signal_number, |
97 signal_handler_t action); | 98 signal_handler_t action); |
98 /* Provide our own version of signal(), that calls sigaction(). The | 99 /* Provide our own version of signal(), that calls sigaction(). The |
99 name is not sys_signal() because a function of that name exists in | 100 name is not sys_signal() because a function of that name exists in |
100 libenergize.a */ | 101 libenergize.a */ |