summaryrefslogtreecommitdiff
path: root/lib/libc/gen/isxdigit.3
diff options
context:
space:
mode:
authorPaul Janzen <pjanzen@cvs.openbsd.org>2001-06-25 03:24:05 +0000
committerPaul Janzen <pjanzen@cvs.openbsd.org>2001-06-25 03:24:05 +0000
commiteebaafe0f06c811aadafe68ad8a541c33236040c (patch)
tree2ee6d4e840d7681768cfb886ba51eea43dfcb47f /lib/libc/gen/isxdigit.3
parented287873d5663dbaa879f3a992cfe06b5fbae961 (diff)
Document that behaviour is undefined if the argument isn't EOF or an unsigned
char.
Diffstat (limited to 'lib/libc/gen/isxdigit.3')
-rw-r--r--lib/libc/gen/isxdigit.310
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/libc/gen/isxdigit.3 b/lib/libc/gen/isxdigit.3
index 63eec860c04..976945d2b29 100644
--- a/lib/libc/gen/isxdigit.3
+++ b/lib/libc/gen/isxdigit.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: isxdigit.3,v 1.5 1999/07/09 13:35:18 aaron Exp $
+.\" $OpenBSD: isxdigit.3,v 1.6 2001/06/25 03:24:04 pjanzen Exp $
.\"
.\" Copyright (c) 1991 The Regents of the University of California.
.\" All rights reserved.
@@ -77,3 +77,11 @@ The
.Fn isxdigit
function conforms to
.St -ansiC .
+.Sh CAVEATS
+The argument to
+.Fn isxdigit
+must be
+.Dv EOF
+or representable as an
+.Li unsigned char ;
+otherwise, the result is undefined.