[libc-commits] [libc] [libc][docgen] regen docgen via cmake (PR #119628)
Nick Desaulniers via libc-commits
libc-commits at lists.llvm.org
Thu Dec 19 13:11:55 PST 2024
https://github.com/nickdesaulniers updated https://github.com/llvm/llvm-project/pull/119628
>From f597df445af7e96c23e1a8538bfcf4860c49cd07 Mon Sep 17 00:00:00 2001
From: Nick Desaulniers <ndesaulniers at google.com>
Date: Wed, 11 Dec 2024 15:02:54 -0800
Subject: [PATCH 1/3] [libc][docgen] regen docgen via cmake
---
libc/docs/CMakeLists.txt | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt
index be09423d38e8e3..c8e9bcd29f612c 100644
--- a/libc/docs/CMakeLists.txt
+++ b/libc/docs/CMakeLists.txt
@@ -4,6 +4,15 @@ include(AddSphinxTarget)
if (SPHINX_FOUND)
if (${SPHINX_OUTPUT_HTML})
add_sphinx_target(html libc)
+
+ list(APPEND docgen_list string strings)
+
+ foreach(stem IN LISTS docgen_list)
+ add_custom_target(${stem}_rst
+ COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../utils/docgen/docgen.py ${stem}.h >
+ ${CMAKE_CURRENT_SOURCE_DIR}/headers/${stem}.rst)
+ add_dependencies(docs-libc-html ${stem}_rst)
+ endforeach()
endif()
endif()
endif()
>From 2f7a9eefa0283144ec0c7c78d203f1c139d08210 Mon Sep 17 00:00:00 2001
From: Nick Desaulniers <ndesaulniers at google.com>
Date: Thu, 12 Dec 2024 09:17:04 -0800
Subject: [PATCH 2/3] expand docgen_list
---
libc/docs/CMakeLists.txt | 20 +++++++++++++++++++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt
index c8e9bcd29f612c..5bc2d3a67d566b 100644
--- a/libc/docs/CMakeLists.txt
+++ b/libc/docs/CMakeLists.txt
@@ -5,7 +5,25 @@ if (SPHINX_FOUND)
if (${SPHINX_OUTPUT_HTML})
add_sphinx_target(html libc)
- list(APPEND docgen_list string strings)
+ list(APPEND docgen_list
+ assert
+ ctype
+ errno
+ fenv
+ float
+ inttypes
+ locale
+ setjmp
+ signal
+ stdbit
+ stdlib
+ string
+ strings
+ threads
+ uchar
+ wchar
+ wctype
+ )
foreach(stem IN LISTS docgen_list)
add_custom_target(${stem}_rst
>From a1bdc8b9b18565201866ff0dec0b066be77c6274 Mon Sep 17 00:00:00 2001
From: Nick Desaulniers <ndesaulniers at google.com>
Date: Thu, 19 Dec 2024 13:11:41 -0800
Subject: [PATCH 3/3] dynamically generate rst files
---
libc/docs/CMakeLists.txt | 23 +-
libc/docs/headers/assert.rst | 27 ---
libc/docs/headers/ctype.rst | 74 -------
libc/docs/headers/errno.rst | 35 ---
libc/docs/headers/fenv.rst | 175 ---------------
libc/docs/headers/float.rst | 227 -------------------
libc/docs/headers/inttypes.rst | 42 ----
libc/docs/headers/locale.rst | 63 ------
libc/docs/headers/setjmp.rst | 43 ----
libc/docs/headers/signal.rst | 207 ------------------
libc/docs/headers/stdbit.rst | 383 ---------------------------------
libc/docs/headers/stdlib.rst | 255 ----------------------
libc/docs/headers/string.rst | 155 -------------
libc/docs/headers/strings.rst | 66 ------
libc/docs/headers/threads.rst | 143 ------------
libc/docs/headers/uchar.rst | 59 -----
libc/docs/headers/wchar.rst | 287 ------------------------
libc/docs/headers/wctype.rst | 86 --------
18 files changed, 20 insertions(+), 2330 deletions(-)
delete mode 100644 libc/docs/headers/assert.rst
delete mode 100644 libc/docs/headers/ctype.rst
delete mode 100644 libc/docs/headers/errno.rst
delete mode 100644 libc/docs/headers/fenv.rst
delete mode 100644 libc/docs/headers/float.rst
delete mode 100644 libc/docs/headers/inttypes.rst
delete mode 100644 libc/docs/headers/locale.rst
delete mode 100644 libc/docs/headers/setjmp.rst
delete mode 100644 libc/docs/headers/signal.rst
delete mode 100644 libc/docs/headers/stdbit.rst
delete mode 100644 libc/docs/headers/stdlib.rst
delete mode 100644 libc/docs/headers/string.rst
delete mode 100644 libc/docs/headers/strings.rst
delete mode 100644 libc/docs/headers/threads.rst
delete mode 100644 libc/docs/headers/uchar.rst
delete mode 100644 libc/docs/headers/wchar.rst
delete mode 100644 libc/docs/headers/wctype.rst
diff --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt
index 5bc2d3a67d566b..60c4ea72deebce 100644
--- a/libc/docs/CMakeLists.txt
+++ b/libc/docs/CMakeLists.txt
@@ -1,10 +1,25 @@
-
if (LLVM_ENABLE_SPHINX)
include(AddSphinxTarget)
if (SPHINX_FOUND)
if (${SPHINX_OUTPUT_HTML})
- add_sphinx_target(html libc)
+ # Similar to clang, we copy our static .rst files from libc/docs/ to the
+ # $build_dir/libc/docs/. That way, we can have a mix of both static
+ # (committed) .rst files, and dynamically generated .rst files. We don't
+ # want the dynamically generated .rst files to pollute the source tree.
+ add_custom_target(copy-libc-rst-docs
+ COMMAND "${CMAKE_COMMAND}" -E copy_directory
+ "${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_BINARY_DIR}")
+
+ # Change sphinx to build from $build_dir/libc/docs/ rather than
+ # llvm-project/libc/docs/.
+ add_sphinx_target(html libc SOURCE_DIR "${CMAKE_CURRENT_BINARY_DIR}")
+ # Depend on the copy target.
+ add_dependencies(docs-libc-html copy-libc-rst-docs)
+ # Maintain a list of headers for which we dynamically generate html docs
+ # for via docgen. For more complex docs (such as per arch support, a la
+ # math.h), those should be omitted and exist statically in
+ # libc/docs/headers/.
list(APPEND docgen_list
assert
ctype
@@ -26,9 +41,11 @@ if (SPHINX_FOUND)
)
foreach(stem IN LISTS docgen_list)
+ # docgen invocation.
add_custom_target(${stem}_rst
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../utils/docgen/docgen.py ${stem}.h >
- ${CMAKE_CURRENT_SOURCE_DIR}/headers/${stem}.rst)
+ ${CMAKE_CURRENT_BINARY_DIR}/headers/${stem}.rst)
+ # depend on the docgen invocation.
add_dependencies(docs-libc-html ${stem}_rst)
endforeach()
endif()
diff --git a/libc/docs/headers/assert.rst b/libc/docs/headers/assert.rst
deleted file mode 100644
index 06ea27966de1ae..00000000000000
--- a/libc/docs/headers/assert.rst
+++ /dev/null
@@ -1,27 +0,0 @@
-.. include:: ../check.rst
-
-========
-assert.h
-========
-
-Macros
-======
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Macro
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - __STDC_VERSION_ASSERT_H__
- - |check|
- - 7.2.1
- -
- * - assert
- -
- - 7.2.1
- -
-
diff --git a/libc/docs/headers/ctype.rst b/libc/docs/headers/ctype.rst
deleted file mode 100644
index e506830809f795..00000000000000
--- a/libc/docs/headers/ctype.rst
+++ /dev/null
@@ -1,74 +0,0 @@
-.. include:: ../check.rst
-
-=======
-ctype.h
-=======
-
-Functions
-=========
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Function
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - isalnum
- - |check|
- - 7.4.1.1
- -
- * - isalpha
- - |check|
- - 7.4.1.2
- -
- * - isblank
- - |check|
- - 7.4.1.3
- -
- * - iscntrl
- - |check|
- - 7.4.1.4
- -
- * - isdigit
- - |check|
- - 7.4.1.5
- -
- * - isgraph
- - |check|
- - 7.4.1.6
- -
- * - islower
- - |check|
- - 7.4.1.7
- -
- * - isprint
- - |check|
- - 7.4.1.8
- -
- * - ispunct
- - |check|
- - 7.4.1.9
- -
- * - isspace
- - |check|
- - 7.4.1.10
- -
- * - isupper
- - |check|
- - 7.4.1.11
- -
- * - isxdigit
- - |check|
- - 7.4.1.12
- -
- * - tolower
- - |check|
- - 7.4.2.1
- -
- * - toupper
- - |check|
- - 7.4.2.2
- -
diff --git a/libc/docs/headers/errno.rst b/libc/docs/headers/errno.rst
deleted file mode 100644
index f25aae4f23b2c7..00000000000000
--- a/libc/docs/headers/errno.rst
+++ /dev/null
@@ -1,35 +0,0 @@
-.. include:: ../check.rst
-
-=======
-errno.h
-=======
-
-Macros
-======
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Macro
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - EDOM
- -
- - 7.5
- -
- * - EILSEQ
- -
- - 7.5
- -
- * - ERANGE
- -
- - 7.5
- -
- * - errno
- -
- - 7.5
- -
-
diff --git a/libc/docs/headers/fenv.rst b/libc/docs/headers/fenv.rst
deleted file mode 100644
index 374b46ef57be0a..00000000000000
--- a/libc/docs/headers/fenv.rst
+++ /dev/null
@@ -1,175 +0,0 @@
-.. include:: ../check.rst
-
-======
-fenv.h
-======
-
-Macros
-======
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Macro
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - FE_ALL_EXCEPT
- - |check|
- - 7.6.12
- -
- * - FE_DEC_DOWNWARD
- -
- - 7.6.14
- -
- * - FE_DEC_TONEAREST
- -
- - 7.6.14
- -
- * - FE_DEC_TONEARESTFROMZERO
- -
- - 7.6.14
- -
- * - FE_DEC_TOWARDZERO
- -
- - 7.6.14
- -
- * - FE_DEC_UPWARD
- -
- - 7.6.14
- -
- * - FE_DFL_ENV
- - |check|
- - 7.6.17
- -
- * - FE_DFL_MODE
- -
- - 7.6.11
- -
- * - FE_DIVBYZERO
- - |check|
- - 7.6.9
- -
- * - FE_DOWNARD
- -
- - 7.6.13
- -
- * - FE_INEXACT
- - |check|
- - 7.6.9
- -
- * - FE_INVALID
- - |check|
- - 7.6.9
- -
- * - FE_OVERFLOW
- - |check|
- - 7.6.9
- -
- * - FE_TONEAREST
- - |check|
- - 7.6.13
- -
- * - FE_TONEARESTFROMZERO
- -
- - 7.6.13
- -
- * - FE_TOWARDZERO
- - |check|
- - 7.6.13
- -
- * - FE_UNDERFLOW
- - |check|
- - 7.6.9
- -
- * - FE_UPWARD
- - |check|
- - 7.6.13
- -
- * - __STDC_VERSION_FENV_H__
- -
- - 7.6.5
- -
-
-Functions
-=========
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Function
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - fe_dec_getround
- -
- - 7.6.5.3
- -
- * - fe_dec_setround
- -
- - 7.6.5.6
- -
- * - feclearexcept
- - |check|
- - 7.6.4.1
- -
- * - fegetenv
- - |check|
- - 7.6.6.1
- -
- * - fegetexceptflag
- - |check|
- - 7.6.4.2
- -
- * - fegetmode
- -
- - 7.6.5.1
- -
- * - fegetround
- - |check|
- - 7.6.5.2
- -
- * - feholdexcept
- - |check|
- - 7.6.6.2
- -
- * - feraiseexcept
- - |check|
- - 7.6.4.3
- -
- * - fesetenv
- - |check|
- - 7.6.6.3
- -
- * - fesetexcept
- - |check|
- - 7.6.4.4
- -
- * - fesetexceptflag
- - |check|
- - 7.6.4.5
- -
- * - fesetmode
- -
- - 7.6.5.4
- -
- * - fesetround
- - |check|
- - 7.6.5.5
- -
- * - fetestexcept
- - |check|
- - 7.6.4.7
- -
- * - fetestexceptflag
- - |check|
- - 7.6.4.6
- -
- * - feupdateenv
- - |check|
- - 7.6.6.4
- -
diff --git a/libc/docs/headers/float.rst b/libc/docs/headers/float.rst
deleted file mode 100644
index b603867fcef9ca..00000000000000
--- a/libc/docs/headers/float.rst
+++ /dev/null
@@ -1,227 +0,0 @@
-.. include:: ../check.rst
-
-=======
-float.h
-=======
-
-Macros
-======
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Macro
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - DBL_DECIMAL_DIG
- - |check|
- - 5.3.5.3.3
- -
- * - DBL_DIG
- - |check|
- - 5.3.5.3.3
- -
- * - DBL_EPSILON
- - |check|
- - 5.3.5.3.3
- -
- * - DBL_HAS_SUBNORM
- - |check|
- - 5.3.5.3.3
- -
- * - DBL_IS_IEC_60559
- -
- - 5.3.5.3.3
- -
- * - DBL_MANT_DIG
- - |check|
- - 5.3.5.3.3
- -
- * - DBL_MAX
- - |check|
- - 5.3.5.3.3
- -
- * - DBL_MAX_10_EXP
- - |check|
- - 5.3.5.3.3
- -
- * - DBL_MAX_EXP
- - |check|
- - 5.3.5.3.3
- -
- * - DBL_MIN
- - |check|
- - 5.3.5.3.3
- -
- * - DBL_MIN_10_EXP
- - |check|
- - 5.3.5.3.3
- -
- * - DBL_MIN_EXP
- - |check|
- - 5.3.5.3.3
- -
- * - DBL_NORM_MAX
- -
- - 5.3.5.3.3
- -
- * - DBL_SNAN
- -
- - 5.3.5.3.3
- -
- * - DBL_TRUE_MIN
- - |check|
- - 5.3.5.3.3
- -
- * - DECIMAL_DIG
- - |check|
- - 5.3.5.3.3
- -
- * - FLT_DECIMAL_DIG
- - |check|
- - 5.3.5.3.3
- -
- * - FLT_DIG
- - |check|
- - 5.3.5.3.3
- -
- * - FLT_EPSILON
- - |check|
- - 5.3.5.3.3
- -
- * - FLT_EVAL_METHOD
- - |check|
- - 5.3.5.3.3
- -
- * - FLT_HAS_SUBNORM
- - |check|
- - 5.3.5.3.3
- -
- * - FLT_IS_IEC_60559
- -
- - 5.3.5.3.3
- -
- * - FLT_MANT_DIG
- - |check|
- - 5.3.5.3.3
- -
- * - FLT_MAX
- - |check|
- - 5.3.5.3.3
- -
- * - FLT_MAX_10_EXP
- - |check|
- - 5.3.5.3.3
- -
- * - FLT_MAX_EXP
- - |check|
- - 5.3.5.3.3
- -
- * - FLT_MIN
- - |check|
- - 5.3.5.3.3
- -
- * - FLT_MIN_10_EXP
- - |check|
- - 5.3.5.3.3
- -
- * - FLT_MIN_EXP
- - |check|
- - 5.3.5.3.3
- -
- * - FLT_NORM_MAX
- -
- - 5.3.5.3.3
- -
- * - FLT_RADIX
- - |check|
- - 5.3.5.3.3
- -
- * - FLT_ROUNDS
- - |check|
- - 5.3.5.3.3
- -
- * - FLT_SNAN
- -
- - 5.3.5.3.3
- -
- * - FLT_TRUE_MIN
- - |check|
- - 5.3.5.3.3
- -
- * - INFINITY
- -
- - 5.3.5.3.3
- -
- * - LDBL_DECIMAL_DIG
- - |check|
- - 5.3.5.3.3
- -
- * - LDBL_DIG
- - |check|
- - 5.3.5.3.3
- -
- * - LDBL_EPSILON
- - |check|
- - 5.3.5.3.3
- -
- * - LDBL_HAS_SUBNORM
- - |check|
- - 5.3.5.3.3
- -
- * - LDBL_IS_IEC_60559
- -
- - 5.3.5.3.3
- -
- * - LDBL_MANT_DIG
- - |check|
- - 5.3.5.3.3
- -
- * - LDBL_MAX
- - |check|
- - 5.3.5.3.3
- -
- * - LDBL_MAX_10_EXP
- - |check|
- - 5.3.5.3.3
- -
- * - LDBL_MAX_EXP
- - |check|
- - 5.3.5.3.3
- -
- * - LDBL_MIN
- - |check|
- - 5.3.5.3.3
- -
- * - LDBL_MIN_10_EXP
- - |check|
- - 5.3.5.3.3
- -
- * - LDBL_MIN_EXP
- - |check|
- - 5.3.5.3.3
- -
- * - LDBL_NORM_MAX
- -
- - 5.3.5.3.3
- -
- * - LDBL_SNAN
- -
- - 5.3.5.3.3
- -
- * - LDBL_TRUE_MIN
- - |check|
- - 5.3.5.3.3
- -
- * - NAN
- -
- - 5.3.5.3.3
- -
- * - __STDC_VERSION_FLOAT_H__
- -
- - 7.7
- -
-
diff --git a/libc/docs/headers/inttypes.rst b/libc/docs/headers/inttypes.rst
deleted file mode 100644
index f43c80f095c6a8..00000000000000
--- a/libc/docs/headers/inttypes.rst
+++ /dev/null
@@ -1,42 +0,0 @@
-.. include:: ../check.rst
-
-==========
-inttypes.h
-==========
-
-Functions
-=========
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Function
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - imaxabs
- - |check|
- - 7.8.2.1
- -
- * - imaxdiv
- - |check|
- - 7.8.2.2
- -
- * - strtoimax
- - |check|
- - 7.8.2.3
- -
- * - strtoumax
- - |check|
- - 7.8.2.3
- -
- * - wcstoimax
- -
- - 7.8.2.4
- -
- * - wcstoumax
- -
- - 7.8.2.4
- -
diff --git a/libc/docs/headers/locale.rst b/libc/docs/headers/locale.rst
deleted file mode 100644
index 2d5525bd3f2f9a..00000000000000
--- a/libc/docs/headers/locale.rst
+++ /dev/null
@@ -1,63 +0,0 @@
-.. include:: ../check.rst
-
-========
-locale.h
-========
-
-Macros
-======
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Macro
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - LC_ALL
- - |check|
- - 7.11
- -
- * - LC_COLLATE
- - |check|
- - 7.11
- -
- * - LC_CTYPE
- - |check|
- - 7.11
- -
- * - LC_MONETARY
- - |check|
- - 7.11
- -
- * - LC_NUMERIC
- - |check|
- - 7.11
- -
- * - LC_TIME
- - |check|
- - 7.11
- -
-
-Functions
-=========
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Function
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - localeconv
- - |check|
- - 7.11.2.1
- -
- * - setlocale
- - |check|
- - 7.11.1.1
- -
diff --git a/libc/docs/headers/setjmp.rst b/libc/docs/headers/setjmp.rst
deleted file mode 100644
index b0091134f1a6b2..00000000000000
--- a/libc/docs/headers/setjmp.rst
+++ /dev/null
@@ -1,43 +0,0 @@
-.. include:: ../check.rst
-
-========
-setjmp.h
-========
-
-Macros
-======
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Macro
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - __STDC_VERSION_SETJMP_H__
- -
- - 7.13.2
- -
-
-Functions
-=========
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Function
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - longjmp
- - |check|
- - 7.13.2.1
- -
- * - setjmp
- - |check|
- - 7.13.1.1
- -
diff --git a/libc/docs/headers/signal.rst b/libc/docs/headers/signal.rst
deleted file mode 100644
index b59ae093423574..00000000000000
--- a/libc/docs/headers/signal.rst
+++ /dev/null
@@ -1,207 +0,0 @@
-.. include:: ../check.rst
-
-========
-signal.h
-========
-
-Macros
-======
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Macro
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - SIGABRT
- - |check|
- - 7.14.3
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGALRM
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGBUS
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGCHLD
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGCONT
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGFPE
- - |check|
- - 7.14.3
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGHUP
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGILL
- - |check|
- - 7.14.3
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGINT
- - |check|
- - 7.14.3
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGKILL
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGPIPE
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGPOLL
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGPROF
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGQUIT
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGRTMAX
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGRTMIN
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGSEGV
- - |check|
- - 7.14.3
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGSTOP
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGSYS
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGTERM
- - |check|
- - 7.14.3
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGTRAP
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGTSTP
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGTTIN
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGTTOU
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGURG
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGUSR1
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGUSR2
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGVTALRM
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGXCPU
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIGXFSZ
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIG_DFL
- - |check|
- - 7.14.3
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIG_ERR
- - |check|
- - 7.14.3
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIG_HOLD
- -
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
- * - SIG_IGN
- - |check|
- - 7.14.3
- - https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
-
-Functions
-=========
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Function
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - kill
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/kill.html
- * - raise
- - |check|
- - 7.14.2.1
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/raise.html
- * - sigaction
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/sigaction.html
- * - sigaddset
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/sigaddset.html
- * - sigaltstack
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/sigaltstack.html
- * - sigdelset
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/sigdelset.html
- * - sigemptyset
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/sigemptyset.html
- * - sigfillset
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/sigfillset.html
- * - signal
- - |check|
- - 7.14.1.1
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/signal.html
- * - sigprocmask
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/sigprocmask.html
diff --git a/libc/docs/headers/stdbit.rst b/libc/docs/headers/stdbit.rst
deleted file mode 100644
index 0484d951e19c6b..00000000000000
--- a/libc/docs/headers/stdbit.rst
+++ /dev/null
@@ -1,383 +0,0 @@
-.. include:: ../check.rst
-
-========
-stdbit.h
-========
-
-Macros
-======
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Macro
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - __STDC_ENDIAN_BIG__
- - |check|
- - 7.18.2.2
- -
- * - __STDC_ENDIAN_LITTLE__
- - |check|
- - 7.18.2.2
- -
- * - __STDC_ENDIAN_NATIVE__
- - |check|
- - 7.18.2.2
- -
- * - __STDC_VERSION_STDBIT_H__
- - |check|
- - 7.18.1.2
- -
- * - stdc_bit_ceil
- - |check|
- - 7.18.16.1
- -
- * - stdc_bit_floor
- - |check|
- - 7.18.15.1
- -
- * - stdc_bit_width
- - |check|
- - 7.18.14.1
- -
- * - stdc_count_ones
- - |check|
- - 7.18.12.1
- -
- * - stdc_count_zeros
- - |check|
- - 7.18.11.1
- -
- * - stdc_first_leading_one
- - |check|
- - 7.18.8.1
- -
- * - stdc_first_leading_zero
- - |check|
- - 7.18.7.1
- -
- * - stdc_first_trailing_one
- - |check|
- - 7.18.10.1
- -
- * - stdc_first_trailing_zero
- - |check|
- - 7.18.9.1
- -
- * - stdc_has_single_bit
- - |check|
- - 7.18.13.1
- -
- * - stdc_leading_ones
- - |check|
- - 7.18.4.1
- -
- * - stdc_leading_zeros
- - |check|
- - 7.18.3.1
- -
- * - stdc_trailing_ones
- - |check|
- - 7.18.6.1
- -
- * - stdc_trailing_zeros
- - |check|
- - 7.18.5.1
- -
-
-Functions
-=========
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Function
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - stdc_bit_ceil_uc
- - |check|
- - 7.18.16
- -
- * - stdc_bit_ceil_ui
- - |check|
- - 7.18.16
- -
- * - stdc_bit_ceil_ul
- - |check|
- - 7.18.16
- -
- * - stdc_bit_ceil_ull
- - |check|
- - 7.18.16
- -
- * - stdc_bit_ceil_us
- - |check|
- - 7.18.16
- -
- * - stdc_bit_floor_uc
- - |check|
- - 7.18.15
- -
- * - stdc_bit_floor_ui
- - |check|
- - 7.18.15
- -
- * - stdc_bit_floor_ul
- - |check|
- - 7.18.15
- -
- * - stdc_bit_floor_ull
- - |check|
- - 7.18.15
- -
- * - stdc_bit_floor_us
- - |check|
- - 7.18.15
- -
- * - stdc_bit_width_uc
- - |check|
- - 7.18.14
- -
- * - stdc_bit_width_ui
- - |check|
- - 7.18.14
- -
- * - stdc_bit_width_ul
- - |check|
- - 7.18.14
- -
- * - stdc_bit_width_ull
- - |check|
- - 7.18.14
- -
- * - stdc_bit_width_us
- - |check|
- - 7.18.14
- -
- * - stdc_count_ones_uc
- - |check|
- - 7.18.12
- -
- * - stdc_count_ones_ui
- - |check|
- - 7.18.12
- -
- * - stdc_count_ones_ul
- - |check|
- - 7.18.12
- -
- * - stdc_count_ones_ull
- - |check|
- - 7.18.12
- -
- * - stdc_count_ones_us
- - |check|
- - 7.18.12
- -
- * - stdc_count_zeros_uc
- - |check|
- - 7.18.11
- -
- * - stdc_count_zeros_ui
- - |check|
- - 7.18.11
- -
- * - stdc_count_zeros_ul
- - |check|
- - 7.18.11
- -
- * - stdc_count_zeros_ull
- - |check|
- - 7.18.11
- -
- * - stdc_count_zeros_us
- - |check|
- - 7.18.11
- -
- * - stdc_first_leading_one_uc
- - |check|
- - 7.18.8
- -
- * - stdc_first_leading_one_ui
- - |check|
- - 7.18.8
- -
- * - stdc_first_leading_one_ul
- - |check|
- - 7.18.8
- -
- * - stdc_first_leading_one_ull
- - |check|
- - 7.18.8
- -
- * - stdc_first_leading_one_us
- - |check|
- - 7.18.8
- -
- * - stdc_first_leading_zero_uc
- - |check|
- - 7.18.7
- -
- * - stdc_first_leading_zero_ui
- - |check|
- - 7.18.7
- -
- * - stdc_first_leading_zero_ul
- - |check|
- - 7.18.7
- -
- * - stdc_first_leading_zero_ull
- - |check|
- - 7.18.7
- -
- * - stdc_first_leading_zero_us
- - |check|
- - 7.18.7
- -
- * - stdc_first_trailing_one_uc
- - |check|
- - 7.18.10
- -
- * - stdc_first_trailing_one_ui
- - |check|
- - 7.18.10
- -
- * - stdc_first_trailing_one_ul
- - |check|
- - 7.18.10
- -
- * - stdc_first_trailing_one_ull
- - |check|
- - 7.18.10
- -
- * - stdc_first_trailing_one_us
- - |check|
- - 7.18.10
- -
- * - stdc_first_trailing_zero_uc
- - |check|
- - 7.18.9
- -
- * - stdc_first_trailing_zero_ui
- - |check|
- - 7.18.9
- -
- * - stdc_first_trailing_zero_ul
- - |check|
- - 7.18.9
- -
- * - stdc_first_trailing_zero_ull
- - |check|
- - 7.18.9
- -
- * - stdc_first_trailing_zero_us
- - |check|
- - 7.18.9
- -
- * - stdc_has_single_bit_uc
- - |check|
- - 7.18.13
- -
- * - stdc_has_single_bit_ui
- - |check|
- - 7.18.13
- -
- * - stdc_has_single_bit_ul
- - |check|
- - 7.18.13
- -
- * - stdc_has_single_bit_ull
- - |check|
- - 7.18.13
- -
- * - stdc_has_single_bit_us
- - |check|
- - 7.18.13
- -
- * - stdc_leading_ones_uc
- - |check|
- - 7.18.4
- -
- * - stdc_leading_ones_ui
- - |check|
- - 7.18.4
- -
- * - stdc_leading_ones_ul
- - |check|
- - 7.18.4
- -
- * - stdc_leading_ones_ull
- - |check|
- - 7.18.4
- -
- * - stdc_leading_ones_us
- - |check|
- - 7.18.4
- -
- * - stdc_leading_zeros_uc
- - |check|
- - 7.18.3
- -
- * - stdc_leading_zeros_ui
- - |check|
- - 7.18.3
- -
- * - stdc_leading_zeros_ul
- - |check|
- - 7.18.3
- -
- * - stdc_leading_zeros_ull
- - |check|
- - 7.18.3
- -
- * - stdc_leading_zeros_us
- - |check|
- - 7.18.3
- -
- * - stdc_trailing_ones_uc
- - |check|
- - 7.18.6
- -
- * - stdc_trailing_ones_ui
- - |check|
- - 7.18.6
- -
- * - stdc_trailing_ones_ul
- - |check|
- - 7.18.6
- -
- * - stdc_trailing_ones_ull
- - |check|
- - 7.18.6
- -
- * - stdc_trailing_ones_us
- - |check|
- - 7.18.6
- -
- * - stdc_trailing_zeros_uc
- - |check|
- - 7.18.5
- -
- * - stdc_trailing_zeros_ui
- - |check|
- - 7.18.5
- -
- * - stdc_trailing_zeros_ul
- - |check|
- - 7.18.5
- -
- * - stdc_trailing_zeros_ull
- - |check|
- - 7.18.5
- -
- * - stdc_trailing_zeros_us
- - |check|
- - 7.18.5
- -
diff --git a/libc/docs/headers/stdlib.rst b/libc/docs/headers/stdlib.rst
deleted file mode 100644
index 139d9b4a922281..00000000000000
--- a/libc/docs/headers/stdlib.rst
+++ /dev/null
@@ -1,255 +0,0 @@
-.. include:: ../check.rst
-
-========
-stdlib.h
-========
-
-Macros
-======
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Macro
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - EXIT_FAILURE
- - |check|
- - 7.24
- -
- * - EXIT_SUCCESS
- - |check|
- - 7.24
- -
- * - MB_CUR_MAX
- - |check|
- - 7.24
- -
- * - RAND_MAX
- - |check|
- - 7.24
- -
- * - __STDC_VERSION_STDLIB_H__
- -
- - 7.24
- -
-
-Functions
-=========
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Function
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - _Exit
- - |check|
- - 7.24.4.5
- -
- * - abort
- - |check|
- - 7.24.4.1
- -
- * - abs
- - |check|
- - 7.24.6.1
- -
- * - aligned_alloc
- - |check|
- - 7.24.3.1
- -
- * - at_quick_exit
- - |check|
- - 7.24.4.3
- -
- * - atexit
- - |check|
- - 7.24.4.2
- -
- * - atof
- - |check|
- - 7.24.1.1
- -
- * - atoi
- - |check|
- - 7.24.1.2
- -
- * - atol
- - |check|
- - 7.24.1.2
- -
- * - atoll
- - |check|
- - 7.24.1.2
- -
- * - bsearch
- - |check|
- - 7.24.5.1
- -
- * - calloc
- - |check|
- - 7.24.3.2
- -
- * - div
- - |check|
- - 7.24.6.2
- -
- * - exit
- - |check|
- - 7.24.4.4
- -
- * - free
- - |check|
- - 7.24.3.3
- -
- * - free_aligned_sized
- -
- - 7.24.3.5
- -
- * - free_sized
- -
- - 7.24.3.4
- -
- * - getenv
- - |check|
- - 7.24.4.6
- -
- * - labs
- - |check|
- - 7.24.6.1
- -
- * - ldiv
- - |check|
- - 7.24.6.2
- -
- * - llabs
- - |check|
- - 7.24.6.1
- -
- * - lldiv
- - |check|
- - 7.24.6.2
- -
- * - malloc
- - |check|
- - 7.24.3.6
- -
- * - mblen
- -
- - 7.24.7.1
- -
- * - mbstowcs
- -
- - 7.24.8.1
- -
- * - mbtowc
- -
- - 7.24.7.2
- -
- * - memalignment
- -
- - 7.24.9.1
- -
- * - qsort
- - |check|
- - 7.24.5.2
- -
- * - quick_exit
- - |check|
- - 7.24.4.7
- -
- * - rand
- - |check|
- - 7.24.2.1
- -
- * - realloc
- - |check|
- - 7.24.3.7
- -
- * - srand
- - |check|
- - 7.24.2.2
- -
- * - strfromd
- - |check|
- - 7.24.1.3
- -
- * - strfromd128
- -
- - 7.24.1.4
- -
- * - strfromd32
- -
- - 7.24.1.4
- -
- * - strfromd64
- -
- - 7.24.1.4
- -
- * - strfromf
- - |check|
- - 7.24.1.3
- -
- * - strfroml
- - |check|
- - 7.24.1.3
- -
- * - strtod
- - |check|
- - 7.24.1.5
- -
- * - strtod128
- -
- - 7.24.1.6
- -
- * - strtod32
- -
- - 7.24.1.6
- -
- * - strtod64
- -
- - 7.24.1.6
- -
- * - strtof
- - |check|
- - 7.24.1.5
- -
- * - strtol
- - |check|
- - 7.24.1.7
- -
- * - strtold
- - |check|
- - 7.24.1.5
- -
- * - strtoll
- - |check|
- - 7.24.1.7
- -
- * - strtoul
- - |check|
- - 7.24.1.7
- -
- * - strtoull
- - |check|
- - 7.24.1.7
- -
- * - system
- - |check|
- - 7.24.4.8
- -
- * - wcstombs
- -
- - 7.24.8.2
- -
- * - wctomb
- -
- - 7.24.7.3
- -
diff --git a/libc/docs/headers/string.rst b/libc/docs/headers/string.rst
deleted file mode 100644
index 55f779c830ea87..00000000000000
--- a/libc/docs/headers/string.rst
+++ /dev/null
@@ -1,155 +0,0 @@
-.. include:: ../check.rst
-
-========
-string.h
-========
-
-Macros
-======
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Macro
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - __STDC_VERSION_STRING_H__
- -
- - 7.26.1
- -
-
-Functions
-=========
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Function
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - memccpy
- - |check|
- - 7.26.2.2
- -
- * - memchr
- - |check|
- - 7.26.5.2
- -
- * - memcmp
- - |check|
- - 7.26.4.1
- -
- * - memcpy
- - |check|
- - 7.26.2.1
- -
- * - memmove
- - |check|
- - 7.26.2.3
- -
- * - mempcpy
- - |check|
- - TODO: glibc extension
- -
- * - memset
- - |check|
- - 7.26.6.1
- -
- * - memset_explicit
- - |check|
- - 7.26.6.2
- -
- * - stpcpy
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/stpcpy.html
- * - stpncpy
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/stpncpy.html
- * - strcat
- - |check|
- - 7.26.3.1
- -
- * - strchr
- - |check|
- - 7.26.5.3
- -
- * - strcmp
- - |check|
- - 7.26.4.2
- -
- * - strcoll
- - |check|
- - 7.26.4.3
- -
- * - strcpy
- - |check|
- - 7.26.2.4
- -
- * - strcspn
- - |check|
- - 7.26.5.4
- -
- * - strdup
- - |check|
- - 7.26.2.6
- -
- * - strerror
- - |check|
- - 7.26.6.3
- -
- * - strlen
- - |check|
- - 7.26.6.4
- -
- * - strncat
- - |check|
- - 7.26.3.2
- -
- * - strncmp
- - |check|
- - 7.26.4.4
- -
- * - strncpy
- - |check|
- - 7.26.2.5
- -
- * - strndup
- - |check|
- - 7.26.2.7
- -
- * - strpbrk
- - |check|
- - 7.26.5.5
- -
- * - strrchr
- - |check|
- - 7.26.5.6
- -
- * - strspn
- - |check|
- - 7.26.5.7
- -
- * - strstr
- - |check|
- - 7.26.5.8
- -
- * - strtok
- - |check|
- - 7.26.5.9
- -
- * - strtok_r
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/strtok_r.html
- * - strxfrm
- - |check|
- - 7.26.4.5
- -
diff --git a/libc/docs/headers/strings.rst b/libc/docs/headers/strings.rst
deleted file mode 100644
index b5935d2683d089..00000000000000
--- a/libc/docs/headers/strings.rst
+++ /dev/null
@@ -1,66 +0,0 @@
-.. include:: ../check.rst
-
-=========
-strings.h
-=========
-
-Functions
-=========
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Function
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - bcmp
- - |check|
- -
- - removed in POSIX.1-2008
- * - bcopy
- - |check|
- -
- - removed in POSIX.1-2008
- * - bzero
- - |check|
- -
- - removed in POSIX.1-2008
- * - ffs
- -
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/ffs.html
- * - ffsl
- -
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/ffsl.html
- * - ffsll
- -
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/ffsll.html
- * - index
- - |check|
- -
- - removed in POSIX.1-2008
- * - rindex
- - |check|
- -
- - removed in POSIX.1-2008
- * - strcasecmp
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/strncasecmp.html
- * - strcasecmp_l
- -
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/strncasecmp.html
- * - strncasecmp
- - |check|
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/strncasecmp.html
- * - strncasecmp_l
- -
- -
- - https://pubs.opengroup.org/onlinepubs/9799919799/functions/strncasecmp.html
diff --git a/libc/docs/headers/threads.rst b/libc/docs/headers/threads.rst
deleted file mode 100644
index be313c6013b8da..00000000000000
--- a/libc/docs/headers/threads.rst
+++ /dev/null
@@ -1,143 +0,0 @@
-.. include:: ../check.rst
-
-=========
-threads.h
-=========
-
-Macros
-======
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Macro
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - ONCE_FLAG_INIT
- -
- - 7.28.1
- -
- * - TSS_DTOR_ITERATIONS
- -
- - 7.28.1
- -
- * - __STDC_NO_THREADS__
- -
- - 7.28.1
- -
-
-Functions
-=========
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Function
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - call_once
- - |check|
- - 7.28.2.1
- -
- * - cnd_broadcast
- - |check|
- - 7.28.3.1
- -
- * - cnd_destroy
- - |check|
- - 7.28.3.2
- -
- * - cnd_init
- - |check|
- - 7.28.3.3
- -
- * - cnd_signal
- - |check|
- - 7.28.3.4
- -
- * - cnd_timedwait
- -
- - 7.28.3.5
- -
- * - cnd_wait
- - |check|
- - 7.28.3.6
- -
- * - mtx_destroy
- - |check|
- - 7.28.4.2
- -
- * - mtx_init
- - |check|
- - 7.28.4.3
- -
- * - mtx_lock
- - |check|
- - 7.28.4.4
- -
- * - mtx_timedlock
- -
- - 7.28.4.5
- -
- * - mtx_trylock
- -
- - 7.28.4.6
- -
- * - mtx_unlock
- - |check|
- - 7.28.4.7
- -
- * - thrd_create
- - |check|
- - 7.28.5.1
- -
- * - thrd_current
- - |check|
- - 7.28.5.2
- -
- * - thrd_detach
- - |check|
- - 7.28.5.3
- -
- * - thrd_equal
- - |check|
- - 7.28.5.4
- -
- * - thrd_exit
- - |check|
- - 7.28.5.5
- -
- * - thrd_join
- - |check|
- - 7.28.5.6
- -
- * - thrd_sleep
- -
- - 7.28.5.7
- -
- * - thrd_yield
- -
- - 7.28.5.8
- -
- * - tss_create
- - |check|
- - 7.28.6.1
- -
- * - tss_delete
- - |check|
- - 7.28.6.2
- -
- * - tss_get
- - |check|
- - 7.28.6.3
- -
- * - tss_set
- - |check|
- - 7.28.6.4
- -
diff --git a/libc/docs/headers/uchar.rst b/libc/docs/headers/uchar.rst
deleted file mode 100644
index 4645109c8c3785..00000000000000
--- a/libc/docs/headers/uchar.rst
+++ /dev/null
@@ -1,59 +0,0 @@
-.. include:: ../check.rst
-
-=======
-uchar.h
-=======
-
-Macros
-======
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Macro
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - __STDC_VERSION_UCHAR_H__
- -
- - 7.30.1
- -
-
-Functions
-=========
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Function
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - c16rtomb
- -
- - 7.30.2.5
- -
- * - c32rtomb
- -
- - 7.30.2.7
- -
- * - c8rtomb
- -
- - 7.30.2.3
- -
- * - mbrtoc16
- -
- - 7.30.2.4
- -
- * - mbrtoc32
- -
- - 7.30.2.6
- -
- * - mbrtoc8
- -
- - 7.30.2.2
- -
diff --git a/libc/docs/headers/wchar.rst b/libc/docs/headers/wchar.rst
deleted file mode 100644
index ce2be3389a2ec2..00000000000000
--- a/libc/docs/headers/wchar.rst
+++ /dev/null
@@ -1,287 +0,0 @@
-.. include:: ../check.rst
-
-=======
-wchar.h
-=======
-
-Macros
-======
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Macro
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - WEOF
- - |check|
- - 7.31.1
- -
- * - __STDC_VERSION_WCHAR_H__
- -
- - 7.31.1
- -
-
-Functions
-=========
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Function
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - btowc
- - |check|
- - 7.31.6.2.1
- -
- * - fgetwc
- -
- - 7.31.3.1
- -
- * - fgetws
- -
- - 7.31.3.2
- -
- * - fputwc
- -
- - 7.31.3.3
- -
- * - fputws
- -
- - 7.31.3.4
- -
- * - fwide
- -
- - 7.31.3.5
- -
- * - fwprintf
- -
- - 7.31.2.2
- -
- * - fwscanf
- -
- - 7.31.2.3
- -
- * - getwc
- -
- - 7.31.3.6
- -
- * - getwchar
- -
- - 7.31.3.7
- -
- * - mbrlen
- -
- - 7.31.6.4.2
- -
- * - mbrtowc
- -
- - 7.31.6.4.3
- -
- * - mbsinit
- -
- - 7.31.6.3.1
- -
- * - mbsrtowcs
- -
- - 7.31.6.5.2
- -
- * - putwc
- -
- - 7.31.3.8
- -
- * - putwchar
- -
- - 7.31.3.9
- -
- * - swprintf
- -
- - 7.31.2.4
- -
- * - swscanf
- -
- - 7.31.2.5
- -
- * - ungetwc
- -
- - 7.31.3.10
- -
- * - vfwprintf
- -
- - 7.31.2.6
- -
- * - vfwscanf
- -
- - 7.31.2.7
- -
- * - vswprintf
- -
- - 7.31.2.8
- -
- * - vswscanf
- -
- - 7.31.2.9
- -
- * - vwprintf
- -
- - 7.31.2.10
- -
- * - vwscanf
- -
- - 7.31.2.11
- -
- * - wcrtomb
- -
- - 7.31.6.4.4
- -
- * - wcscat
- -
- - 7.31.4.4.1
- -
- * - wcschr
- -
- - 7.31.4.6.2
- -
- * - wcscmp
- -
- - 7.31.4.5.2
- -
- * - wcscoll
- -
- - 7.31.4.5.3
- -
- * - wcscpy
- -
- - 7.31.4.3.1
- -
- * - wcscspn
- -
- - 7.31.4.6.3
- -
- * - wcsftime
- -
- - 7.31.5.1
- -
- * - wcslen
- -
- - 7.31.4.7.1
- -
- * - wcsncat
- -
- - 7.31.4.4.2
- -
- * - wcsncmp
- -
- - 7.31.4.5.4
- -
- * - wcsncpy
- -
- - 7.31.4.3.2
- -
- * - wcspbrk
- -
- - 7.31.4.6.4
- -
- * - wcsrchr
- -
- - 7.31.4.6.5
- -
- * - wcsrtombs
- -
- - 7.31.6.5.3
- -
- * - wcsspn
- -
- - 7.31.4.6.6
- -
- * - wcsstr
- -
- - 7.31.4.6.7
- -
- * - wcstod
- -
- - 7.31.4.2.2
- -
- * - wcstod128
- -
- - 7.31.4.2.3
- -
- * - wcstod32
- -
- - 7.31.4.2.3
- -
- * - wcstod64
- -
- - 7.31.4.2.3
- -
- * - wcstof
- -
- - 7.31.4.2.2
- -
- * - wcstok
- -
- - 7.31.4.6.8
- -
- * - wcstol
- -
- - 7.31.4.2.4
- -
- * - wcstold
- -
- - 7.31.4.2.2
- -
- * - wcstoll
- -
- - 7.31.4.2.4
- -
- * - wcstoul
- -
- - 7.31.4.2.4
- -
- * - wcstoull
- -
- - 7.31.4.2.4
- -
- * - wcsxfrm
- -
- - 7.31.4.5.5
- -
- * - wctob
- - |check|
- - 7.31.6.2.2
- -
- * - wmemchr
- -
- - 7.31.4.6.9
- -
- * - wmemcmp
- -
- - 7.31.4.5.6
- -
- * - wmemcpy
- -
- - 7.31.4.3.3
- -
- * - wmemmove
- -
- - 7.31.4.3.4
- -
- * - wmemset
- -
- - 7.31.4.7.2
- -
- * - wprintf
- -
- - 7.31.2.12
- -
- * - wscanf
- -
- - 7.31.2.13
- -
diff --git a/libc/docs/headers/wctype.rst b/libc/docs/headers/wctype.rst
deleted file mode 100644
index 48096c3e25804b..00000000000000
--- a/libc/docs/headers/wctype.rst
+++ /dev/null
@@ -1,86 +0,0 @@
-.. include:: ../check.rst
-
-========
-wctype.h
-========
-
-Functions
-=========
-
-.. list-table::
- :widths: auto
- :align: center
- :header-rows: 1
-
- * - Function
- - Implemented
- - C23 Standard Section
- - POSIX.1-2024 Standard Section
- * - iswalnum
- -
- - 7.32.2.1.1
- -
- * - iswalpha
- -
- - 7.32.2.1.2
- -
- * - iswblank
- -
- - 7.32.2.1.4
- -
- * - iswctype
- -
- - 7.32.2.2.1
- -
- * - iswdigit
- -
- - 7.32.2.1.5
- -
- * - iswgraph
- -
- - 7.32.2.1.6
- -
- * - iswlower
- -
- - 7.32.2.1.7
- -
- * - iswprint
- -
- - 7.32.2.1.8
- -
- * - iswpunct
- -
- - 7.32.2.1.9
- -
- * - iswspace
- -
- - 7.32.2.1.10
- -
- * - iswupper
- -
- - 7.32.2.1.11
- -
- * - iswxdigit
- -
- - 7.32.2.1.12
- -
- * - towctrans
- -
- - 7.32.3.2.1
- -
- * - towlower
- -
- - 7.32.3.1.1
- -
- * - towupper
- -
- - 7.32.3.1.2
- -
- * - wctrans
- -
- - 7.32.3.2.2
- -
- * - wctype
- -
- - 7.32.2.2.2
- -
More information about the libc-commits
mailing list