xref: /csrg-svn/lib/libc/locale/isdigit.3 (revision 50304)
148905Scael.\" Copyright (c) 1991 The Regents of the University of California.
248905Scael.\" All rights reserved.
348905Scael.\"
4*50304Sbostic.\" This code is derived from software contributed to Berkeley by
5*50304Sbostic.\" the American National Standards Committee X3, on Information
6*50304Sbostic.\" Processing Systems.
7*50304Sbostic.\"
848905Scael.\" %sccs.include.redist.man%
948905Scael.\"
10*50304Sbostic.\"     @(#)isdigit.3	5.2 (Berkeley) 06/29/91
1148905Scael.\"
1248905Scael.Dd
1348905Scael.Dt ISDIGIT 3
1448905Scael.Os
1548905Scael.Sh NAME
1648905Scael.Nm isdigit
1748905Scael.Nd decimal-digit character test
1848905Scael.Sh SYNOPSIS
1948905Scael.Fd #include <ctype.h>
2048905Scael.Ft int
2148905Scael.Fn isdigit "int c"
2248905Scael.Sh DESCRIPTION
2348905ScaelThe
2448905Scael.Fn isdigit
2548905Scaelfunction tests for any decimal-digit character.
2648905Scael.Sh RETURN VALUES
2748905ScaelThe
2848905Scael.Fn isdigit
2948905Scaelmacro returns zero if the character tests false and
3048905Scaelreturns non-zero if the character tests true.
3148905Scael.Sh SEE ALSO
3248905Scael.Xr isascii 3 ,
3348905Scael.Xr isalnum 3 ,
3448905Scael.Xr isalpha 3 ,
3548905Scael.Xr iscntrl 3 ,
3648905Scael.Xr isdigit 3 ,
3748905Scael.Xr isgraph 3 ,
3848905Scael.Xr islower 3 ,
3948905Scael.Xr isprint 3 ,
4048905Scael.Xr ispunct 3 ,
4148905Scael.Xr isspace 3 ,
4248905Scael.Xr isupper 3 ,
4348905Scael.Xr isxdigit 3 ,
4448905Scael.Xr toascii 3 ,
4548905Scael.Xr tolower 3 ,
4648905Scael.Xr toupper 3 ,
4748905Scael.Xr stdio 3
4848905Scael.Xr ascii 7
4948905Scael.Sh STANDARDS
5048905ScaelThe
5148905Scael.Fn isdigit
5248905Scaelfunction conforms to
5348905Scael.St -ansiC .
54