Manpage of ISDIGIT
ISDIGIT
Section: NEWLIB (3)
Updated: 2005 Feb 23
Index
Return to Main Contents
NAME
2.5 `isdigit'--decimal digit predicate
SYNOPSIS
#include <ctype.h>
int isdigit(int C);
DESCRIPTION
`isdigit' is a macro which classifies ASCII integer values by table
lookup. It is a predicate returning non-zero for decimal digits, and 0
for other characters. It is defined only when `isascii'(C) is true or
C is EOF.
You can use a compiled subroutine instead of the macro definition by
undefining the macro using ``#undef isdigit''.
RETURNS
`isdigit' returns non-zero if C is a decimal digit (`0'-`9').
PORTABILITY
`isdigit' is ANSI C.
No supporting OS subroutines are required.
SEE ALSO
isdigit
is part of the
libc
library.
The full documentation for
libc
is maintained as a Texinfo manual. If
info
and
libc
are properly installed at your site, the command
-
info libc
will give you access to the complete manual.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- RETURNS
-
- PORTABILITY
-
- SEE ALSO
-
This document was created by
man2html,
using the manual pages.
Time: 21:25:18 GMT, May 16, 2005
www.fiveanddime.net