1 --- digittoint.3.orig 2009-11-09 15:05:25.000000000 -0800
2 +++ digittoint.3 2009-11-09 15:05:26.000000000 -0800
10 .Nd convert a numeric character to its integer value
16 -.Fn digittoint "int c"
30 function converts a numeric character to its corresponding integer value.
31 The character can be any decimal digit or hexadecimal digit.
32 With hexadecimal characters, the case of the values does not matter.
36 +function uses the current locale, the
38 +function may be passed a locale directly. See
40 +for more information.
44 @@ -56,4 +74,5 @@ the function will return 0.