llvm-c166/libc/docs
Petr Hosek 69258491d2
[libc] Support configurable errno modes (#98287)
Rather than selecting the errno implementation based on the platform
which doesn't provide the necessary flexibility, make it configurable.

The errno value location is returned by `int *__llvm_libc_errno()` which
is a common design used by other C libraries.
2024-07-13 10:52:42 -07:00
..
_static
dev [libc] Migrate to using LIBC_NAMESPACE_DECL for namespace declaration (#98597) 2024-07-12 09:28:41 -07:00
gpu [libc] Partially implement 'errno' on the GPU (#97107) 2024-07-01 06:30:15 -05:00
math [libc] Add support for powi as an LLVM libc extension on the GPU (#98236) 2024-07-09 20:51:36 -05:00
build_and_test.rst [libc][docs] Add doc for using containers to test on a different arch (#97431) 2024-07-03 11:07:49 -04:00
c23.rst [libc][math][c23] Add {getpayload,setpayload,setpayloadsig}f16 C23 math functions (#95159) 2024-06-20 13:33:34 -04:00
check.rst
CMakeLists.txt
compiler_support.rst
conf.py
configure.rst [libc] Support configurable errno modes (#98287) 2024-07-13 10:52:42 -07:00
contributing.rst [libc][docs] link to good beginner bugs (#89297) 2024-04-18 13:38:00 -07:00
ctype.rst [libc][docs] adds macro handling, POSIX status, and validation to docgen (#89421) 2024-05-23 10:48:16 -07:00
date_and_time.rst
fenv.rst [libc][docs] adds macro handling, POSIX status, and validation to docgen (#89421) 2024-05-23 10:48:16 -07:00
full_cross_build.rst
full_host_build.rst [libc][docs] Update full host build docs (#97643) 2024-07-03 16:29:19 -07:00
fullbuild_mode.rst
header_gen_scheme.svg
index.rst [libc] Generate docs for setjmp.h (#89542) 2024-04-23 11:28:09 -07:00
libc_search.rst
overlay_mode.rst
porting.rst
README.txt
setjmp.rst [libc] Generate docs for setjmp.h (#89542) 2024-04-23 11:28:09 -07:00
signal.rst [libc][docs] adds macro handling, POSIX status, and validation to docgen (#89421) 2024-05-23 10:48:16 -07:00
stdbit.rst [libc][docs] adds macro handling, POSIX status, and validation to docgen (#89421) 2024-05-23 10:48:16 -07:00
stdio.rst [libc][c11] Add stdio.h's rename() function (#85068) 2024-03-21 08:21:06 -07:00
strings.rst
talks.rst
threads.rst [libc][docs] adds macro handling, POSIX status, and validation to docgen (#89421) 2024-05-23 10:48:16 -07:00
usage_modes.rst [libc] Codify header inclusion policy (#87017) 2024-04-11 10:11:58 -07:00

libc Documentation
==================

The libc documentation is written using the Sphinx documentation generator. It is
currently tested with Sphinx 1.1.3.

To build the documents into html configure libc with the following cmake options:

  * -DLLVM_ENABLE_SPHINX=ON
  * -DLIBC_INCLUDE_DOCS=ON

After configuring libc with these options the make rule `docs-libc-html`
should be available.