|
|
1.1 root 1:
2:
3: isdigit() ctype Macro (ctype.h) isdigit()
4:
5:
6:
7:
8: Check if a character is a numeral
9:
10: #iinncclluuddee <ccttyyppee.hh>
11: iinntt iissddiiggiitt(_c) iinntt _c;
12:
13: isdigit tests whether the argument _c is a numeral (00-99). It
14: returns a number other than zero if _c is a numeral, and zero if
15: it is not. isdigit assumes that _c is an ASCII character or EEOOFF.
16:
17: ***** Example *****
18:
19: For an example of how to use this macro, see the entry for ctype.
20:
21: ***** See Also *****
22:
23: ASCII, ctype
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64: COHERENT Lexicon Page 1
65:
66:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.