summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen
diff options
context:
space:
mode:
authorjb <jb@FreeBSD.org>1998-02-15 00:46:47 +0000
committerjb <jb@FreeBSD.org>1998-02-15 00:46:47 +0000
commit3317d38e22a11b743ebd5d5028fc9896d73f4a11 (patch)
tree4e138828cd3df99300685e8c0c46cbdd1b2b67ba /lib/libc/gen
parentb0853d61f8d400384360f215e6976fa33cf950c8 (diff)
downloadFreeBSD-src-3317d38e22a11b743ebd5d5028fc9896d73f4a11.zip
FreeBSD-src-3317d38e22a11b743ebd5d5028fc9896d73f4a11.tar.gz
signal() returns SIG_ERR, not just -1. The sys/signal.h header file
provides the cast from -1 to the signal() return type, so no further casting by programmers should be required. Pointed out by: bde (of course).
Diffstat (limited to 'lib/libc/gen')
-rw-r--r--lib/libc/gen/signal.32
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/signal.3 b/lib/libc/gen/signal.3
index 90faadc..9960e4a 100644
--- a/lib/libc/gen/signal.3
+++ b/lib/libc/gen/signal.3
@@ -194,7 +194,7 @@ function;
ignored signals remain ignored.
.Sh RETURN VALUES
The previous action is returned on a successful call.
-Otherwise, \-1 is returned and the global variable
+Otherwise, SIG_ERR is returned and the global variable
.Va errno
is set to indicate the error.
.Sh ERRORS
OpenPOWER on IntegriCloud