|
NAMEdigittoint —
convert a numeric character to its integer value
LIBRARYStandard C Library (libc, -lc)SYNOPSIS#include <ctype.h>
int
int
DESCRIPTIONThedigittoint () 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.
The RETURN VALUESThedigittoint () function always returns an integer from
the range of 0 to 15. If the given character was not a digit as defined by
isxdigit(3),
the function will return 0.
SEE ALSOctype(3), isdigit(3), isxdigit(3), xlocale(3)
Visit the GSP FreeBSD Man Page Interface. |