Skip to content

[libc][docs] split "String Functions" into string.h, strings.h, stdlib.h, and inttypes.h #118860

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Dec 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions libc/docs/headers/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,16 @@ Implementation Status
errno
fenv
float
inttypes
locale
math/index.rst
search
setjmp
signal
stdbit
stdio
stdlib
string
strings
threads
time
Expand Down
42 changes: 42 additions & 0 deletions libc/docs/headers/inttypes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
.. 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
-
255 changes: 255 additions & 0 deletions libc/docs/headers/stdlib.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,255 @@
.. 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
-
Loading
Loading