summaryrefslogtreecommitdiffstats
path: root/lib/libc/locale/digittoint.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/locale/digittoint.3')
-rw-r--r--lib/libc/locale/digittoint.311
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/libc/locale/digittoint.3 b/lib/libc/locale/digittoint.3
index c7e2ac1..372e00f 100644
--- a/lib/libc/locale/digittoint.3
+++ b/lib/libc/locale/digittoint.3
@@ -28,7 +28,7 @@
.\" @(#)digittoint.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd September 3, 2009
+.Dd April 6, 2001
.Dt DIGITTOINT 3
.Os
.Sh NAME
@@ -46,15 +46,6 @@ The
function converts a numeric character to its corresponding integer value.
The character can be any decimal digit or hexadecimal digit.
With hexadecimal characters, the case of the values does not matter.
-.Pp
-.Em NOTE :
-if the value passed to the
-.Fn digittoint
-function is a
-.Vt signed char ,
-as is usually the case, it must be cast to an
-.Vt unsigned char
-to avoid sign-extension errors.
.Sh RETURN VALUES
The
.Fn digittoint
OpenPOWER on IntegriCloud