Skip to content

Commit 279c758

Browse files
authored
[libc][docs] generate docs for ctype.h (#87946)
Fixes #87833
1 parent 89ebb56 commit 279c758

File tree

3 files changed

+97
-3
lines changed

3 files changed

+97
-3
lines changed

libc/docs/ctype.rst

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
ctype.h Functions
2+
=================
3+
4+
.. list-table::
5+
:widths: auto
6+
:align: center
7+
:header-rows: 1
8+
9+
* - Function
10+
- Implemented
11+
- Standard
12+
* - isalnum
13+
- |check|
14+
- 7.4.1.1
15+
* - isalpha
16+
- |check|
17+
- 7.4.1.2
18+
* - isblank
19+
- |check|
20+
- 7.4.1.3
21+
* - iscntrl
22+
- |check|
23+
- 7.4.1.4
24+
* - isdigit
25+
- |check|
26+
- 7.4.1.5
27+
* - isgraph
28+
- |check|
29+
- 7.4.1.6
30+
* - islower
31+
- |check|
32+
- 7.4.1.7
33+
* - isprint
34+
- |check|
35+
- 7.4.1.8
36+
* - ispunct
37+
- |check|
38+
- 7.4.1.9
39+
* - isspace
40+
- |check|
41+
- 7.4.1.10
42+
* - isupper
43+
- |check|
44+
- 7.4.1.11
45+
* - isxdigit
46+
- |check|
47+
- 7.4.1.12
48+
* - tolower
49+
- |check|
50+
- 7.4.2.1
51+
* - toupper
52+
- |check|
53+
- 7.4.2.2

libc/docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ stages there is no ABI stability in any form.
6969
fenv
7070
libc_search
7171
c23
72+
ctype
7273

7374
.. toctree::
7475
:hidden:

libc/utils/docgen/ctype.json

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,47 @@
11
{
22
"functions": {
3-
"isalnum": null,
4-
"isalpha": null,
5-
"isblank": null
3+
"isalnum": {
4+
"defined": "7.4.1.1"
5+
},
6+
"isalpha": {
7+
"defined": "7.4.1.2"
8+
},
9+
"isblank": {
10+
"defined": "7.4.1.3"
11+
},
12+
"iscntrl": {
13+
"defined": "7.4.1.4"
14+
},
15+
"isdigit": {
16+
"defined": "7.4.1.5"
17+
},
18+
"isgraph": {
19+
"defined": "7.4.1.6"
20+
},
21+
"islower": {
22+
"defined": "7.4.1.7"
23+
},
24+
"isprint": {
25+
"defined": "7.4.1.8"
26+
},
27+
"ispunct": {
28+
"defined": "7.4.1.9"
29+
},
30+
"isspace": {
31+
"defined": "7.4.1.10"
32+
},
33+
"isupper": {
34+
"defined": "7.4.1.11"
35+
},
36+
"isxdigit": {
37+
"defined": "7.4.1.12"
38+
},
39+
"tolower" : {
40+
"defined": "7.4.2.1"
41+
},
42+
"toupper": {
43+
"defined": "7.4.2.2"
44+
}
645
}
746
}
47+

0 commit comments

Comments
 (0)