diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-03-18 15:44:27 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-03-18 15:44:27 +0000 |
commit | c8c5079d10bb01ee31db3168ac215fdbe4a89516 (patch) | |
tree | faa1b7fa0960c4d2908d26ab0ccaf77bb650ad75 /lib/libc/locale/digittoint.3 | |
parent | af53d6d86e93c51ba63944af801b122ec59c744e (diff) | |
download | src-c8c5079d10bb01ee31db3168ac215fdbe4a89516.tar.gz src-c8c5079d10bb01ee31db3168ac215fdbe4a89516.zip |
mdoc(7) police: tidy up.
Notes
Notes:
svn path=/head/; revision=92590
Diffstat (limited to 'lib/libc/locale/digittoint.3')
-rw-r--r-- | lib/libc/locale/digittoint.3 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/locale/digittoint.3 b/lib/libc/locale/digittoint.3 index 60509f12ff26..ed724824de6c 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 |