diff options
Diffstat (limited to 'signal/sigismem.c')
-rw-r--r-- | signal/sigismem.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/signal/sigismem.c b/signal/sigismem.c index 36c04db..d171517 100644 --- a/signal/sigismem.c +++ b/signal/sigismem.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1996 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -20,11 +20,13 @@ Cambridge, MA 02139, USA. */ /* Return 1 if SIGNO is in SET, 0 if not. */ int -DEFUN(sigismember, (set, signo), CONST sigset_t *set AND int signo) +sigismember (set, signo) + const sigset_t *set; + int signo; { if (set == NULL || signo <= 0 || signo >= NSIG) { - errno = EINVAL; + __set_errno (EINVAL); return -1; } |