1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-20 10:23:57 +00:00

(sigunblock): Define.

This commit is contained in:
Gerd Moellmann 2000-06-28 11:51:19 +00:00
parent 496b749108
commit 0b81c94077
2 changed files with 6 additions and 0 deletions

View File

@ -23,5 +23,8 @@
#define sigblock(sig) \
(sigprocmask_set = SIGEMPTYMASK | (sig), \
sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL))
#define sigunblock(sig) \
(sigprocmask_set = SIGFULLMASK & ~(sig), \
sigprocmask (SIG_SETMASK, &sigprocmask_set, NULL))
#endif
#endif /* not POSIX_SIGNALS */

View File

@ -135,6 +135,9 @@ Boston, MA 02111-1307, USA. */
#define sigblock(sig) \
(sigprocmask_set = SIGEMPTYMASK | (sig), \
sigprocmask (SIG_BLOCK, &sigprocmask_set, NULL))
#define sigunblock(sig) \
(sigprocmask_set = SIGFULLMASK & ~(sig), \
sigprocmask (SIG_SETMASK, &sigprocmask_set, NULL))
#ifndef PENDING_OUTPUT_COUNT
#define PENDING_OUTPUT_COUNT(FILE) ((FILE)->__ptr - (FILE)->__base)