Skip to content

Commit 58946ee

Browse files
[libc][docs] start documenting c23 support (llvm#81933)
I've been diffing the c17 vs c23 latest publicly available drafts and think I have most of the library related differences. I haven't yet annotated what we actually support or not. Link: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2310.pdf (C17) Link: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3096.pdf (C23)
1 parent cb89112 commit 58946ee

File tree

2 files changed

+115
-0
lines changed

2 files changed

+115
-0
lines changed

libc/docs/c23.rst

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
.. _c23_support:
2+
3+
===========
4+
C23 Support
5+
===========
6+
7+
.. contents:: Table of Contents
8+
:depth: 4
9+
:local:
10+
11+
---------------------
12+
Implementation Status
13+
---------------------
14+
15+
(It's helpful to review 'Annex B (Informative) Library Summary' for these.)
16+
17+
New headers:
18+
19+
* stdbit.h
20+
* stdckdint.h
21+
22+
Additions:
23+
24+
* uchar.h
25+
26+
* mbrtoc8
27+
* c8rtomb
28+
* char*_t
29+
30+
* string.h
31+
32+
* memset_explicit
33+
* memccpy
34+
* strdup
35+
* strndup
36+
37+
* time.h
38+
39+
* gmtime_r
40+
* localtime_r
41+
* timegm
42+
* timespec_getres
43+
* strftime conversion specifiers
44+
45+
* 0b
46+
* 0B
47+
* math.h
48+
49+
* acospi*
50+
* asinpi*
51+
* atanpi*
52+
* atan2pi*
53+
* cospi*
54+
* sinpi*
55+
* tanpi*
56+
* exp10*
57+
* exp10m1*
58+
* exp2m1*
59+
* log10p1*
60+
* logp1
61+
* log2p1*
62+
* rsqrt*
63+
* __STDC_IEC_60559_DFP__ functions (_Decimal32, _Decimal64, _Decimal128)
64+
* compoundn*
65+
* totalorder*
66+
* totalordermag*
67+
* getpayload*
68+
* setpayload*
69+
* iscannonical
70+
* issignaling
71+
* issubnormal
72+
* iszero
73+
* llogb*
74+
* pown*
75+
* powr*
76+
* rootn*
77+
* roundeven*
78+
* fromfp*
79+
* ufromfp*
80+
* fromfpx*
81+
* nextup*
82+
* nextdown*
83+
* canonicalize*
84+
* fmaximum*
85+
* fminimum*
86+
* fmaximum_mag*
87+
* fminimum_mag*
88+
* fmaximum_mag_num*
89+
* fminimum_mag_num*
90+
* fadd*
91+
* fsub*
92+
* fmul*
93+
* fdiv*
94+
* ffma*
95+
* dfmal
96+
* fsqrt*
97+
* dsqrtl
98+
* fenv.h
99+
100+
* fesetexcept
101+
* fetestexceptflag
102+
* fegetmode
103+
* fesetmode
104+
* stddef.h
105+
106+
* unreachable
107+
* stdlib.h
108+
109+
* free_sized
110+
* free_aligned_sized
111+
* memalignment
112+
* tgmath.h
113+
114+
* <TODO>

libc/docs/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ stages there is no ABI stability in any form.
6767
stdio
6868
stdbit
6969
libc_search
70+
c23
7071

7172
.. toctree::
7273
:hidden:

0 commit comments

Comments
 (0)