Files
llvm/libc/docs/headers/stdlib.rst
Nick Desaulniers 02e39a13c3 [libc][docs] split "String Functions" into string.h, strings.h, stdlib.h, and inttypes.h (#118860)
bcmp, bcopy, and bzero should be moved from libc/src/string/ to
lib/src/strings/ in order for docgen to use existing conventions to find
whether we implement a function or not.

We should add support to docgen for mentioning glibc extensions (mempcpy) or
extensions from other libcs.
2024-12-10 12:59:46 -08:00

256 lines
3.0 KiB
ReStructuredText

.. 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
-