summaryrefslogtreecommitdiff
path: root/src/s/sco5.h
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2000-06-28 11:51:19 +0000
committerGerd Moellmann <gerd@gnu.org>2000-06-28 11:51:19 +0000
commit0b81c940772a855ac39f2049829df754303ebd3b (patch)
tree553c7235905efb8b8dc6b65a92a577c07f8058e1 /src/s/sco5.h
parent496b74910874e6e62d69352813b0542df26ec62c (diff)
downloademacs-0b81c940772a855ac39f2049829df754303ebd3b.tar.gz
(sigunblock): Define.
Diffstat (limited to 'src/s/sco5.h')
-rw-r--r--src/s/sco5.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/s/sco5.h b/src/s/sco5.h
index 89168b2068e..863f303f7a7 100644
--- a/src/s/sco5.h
+++ b/src/s/sco5.h
@@ -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)