summaryrefslogtreecommitdiffstats
path: root/lib/libc/gen/isdigit.3
diff options
context:
space:
mode:
authorpjanzen <pjanzen@openbsd.org>2001-06-25 03:23:55 +0000
committerpjanzen <pjanzen@openbsd.org>2001-06-25 03:23:55 +0000
commitec9d17ebbebdb475cb3f75c7068861377dba2fb9 (patch)
tree45a178ebd46c63740a5fe0700f655bed6ad189ef /lib/libc/gen/isdigit.3
parentadd pf device on all architectures. (diff)
downloadwireguard-openbsd-ec9d17ebbebdb475cb3f75c7068861377dba2fb9.tar.xz
wireguard-openbsd-ec9d17ebbebdb475cb3f75c7068861377dba2fb9.zip
Document that behaviour is undefined if the argument isn't EOF or an unsigned
char.
Diffstat (limited to 'lib/libc/gen/isdigit.3')
-rw-r--r--lib/libc/gen/isdigit.310
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libc/gen/isdigit.3 b/lib/libc/gen/isdigit.3
index 11caef61a6b..e475fde3a35 100644
--- a/lib/libc/gen/isdigit.3
+++ b/lib/libc/gen/isdigit.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isdigit.3,v 1.5 1999/07/09 13:35:17 aaron Exp $
+.\" $OpenBSD: isdigit.3,v 1.6 2001/06/25 03:24:00 pjanzen Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -77,3 +77,11 @@ The
.Fn isdigit
function conforms to
.St -ansiC .
+.Sh CAVEATS
+The argument to
+.Fn isdigit
+must be
+.Dv EOF
+or representable as an
+.Li unsigned char ;
+otherwise, the result is undefined.