summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2002-03-18 15:44:27 +0000
committerru <ru@FreeBSD.org>2002-03-18 15:44:27 +0000
commit94b265f3f37db8957947a5d5db57635ff50af860 (patch)
treefaa1b7fa0960c4d2908d26ab0ccaf77bb650ad75 /lib/libc
parentffe62d15c2cdec8b07254e587d36ce07feaefe5a (diff)
downloadFreeBSD-src-94b265f3f37db8957947a5d5db57635ff50af860.zip
FreeBSD-src-94b265f3f37db8957947a5d5db57635ff50af860.tar.gz
mdoc(7) police: tidy up.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/locale/digittoint.316
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/locale/digittoint.3 b/lib/libc/locale/digittoint.3
index 60509f1..ed72482 100644
--- a/lib/libc/locale/digittoint.3
+++ b/lib/libc/locale/digittoint.3
@@ -41,21 +41,22 @@
.Sh LIBRARY
.Lb libc
.Sh SYNOPSIS
-.Fd #include <ctype.h>
+.In ctype.h
.Ft int
.Fn digittoint "int c"
.Sh DESCRIPTION
The
.Fn digittoint
-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.
+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.
.Sh RETURN VALUES
The
.Fn digittoint
-function always returns an integer from the range of 0 to 15. If the
-given character was not a digit as defined by
-.Xr isxdigit 3 , the function will return 0.
+function always returns an integer from the range of 0 to 15.
+If the given character was not a digit as defined by
+.Xr isxdigit 3 ,
+the function will return 0.
.Sh SEE ALSO
.Xr isalnum 3 ,
.Xr isalpha 3 ,
@@ -70,7 +71,6 @@ given character was not a digit as defined by
.Xr isupper 3 ,
.Xr isxdigit 3 ,
.Xr stdio 3 ,
-.Xr digittoint 3 ,
.Xr tolower 3 ,
.Xr toupper 3 ,
.Xr ascii 7
OpenPOWER on IntegriCloud