*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: digittoint_l | Section: 3 | Source: FreeBSD | File: digittoint_l.3.gz
DIGITTOINT(3) FreeBSD Library Functions Manual DIGITTOINT(3) NAME digittoint, digittoint_l - convert a numeric character to its integer value LIBRARY Standard C Library (libc, -lc) SYNOPSIS #include <ctype.h> int digittoint(int c); int digittoint_l(int c, locale_t loc); DESCRIPTION The digittoint() and digittoint_l() functions convert 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 digittoint_l() function takes an explicit locale argument, whereas the digittoint() function use the current global or per-thread locale. RETURN VALUES The digittoint() and digittoint_l() functions always return an integer from the range of 0 to 15. If the given character was not a digit as defined by isxdigit(3) or isxdigit_l(3), the function will return 0. SEE ALSO ctype(3), ctype_l(3), isdigit(3), isdigit_l(3), isxdigit(3), isxdigit_l(3), xlocale(3) FreeBSD 14.1-RELEASE-p8 December 19, 2022 FreeBSD 14.1-RELEASE-p8

Navigation Options