Files
clang-p2996/libc/docs/headers/locale.rst
Nick Desaulniers c047a5b3f6 [libc][docgen] simplify posix links (#119595)
Usually posix functions have individual doc pages, and each header has its own
list of required macro definitions. Use a simpler key of "in-latest-posix" to
signal that the URL convention can be followed.

Add support for a "removed-in-posix-2008" key which will link to the 2004 docs
for functions like bcmp, bcopy, bzero, index, and rindex from strings.h.

I don't want to add all of these links for pthreads.h, so automating this will
make documenting these go much faster.
2024-12-12 10:49:55 -08:00

84 lines
2.1 KiB
ReStructuredText

.. include:: ../check.rst
========
locale.h
========
Macros
======
.. list-table::
:widths: auto
:align: center
:header-rows: 1
* - Macro
- Implemented
- C23 Standard Section
- POSIX Docs
* - LC_ALL
- |check|
- 7.11
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/locale.h.html>`__
* - LC_COLLATE
- |check|
- 7.11
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/locale.h.html>`__
* - LC_CTYPE
- |check|
- 7.11
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/locale.h.html>`__
* - LC_MONETARY
- |check|
- 7.11
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/locale.h.html>`__
* - LC_NUMERIC
- |check|
- 7.11
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/locale.h.html>`__
* - LC_TIME
- |check|
- 7.11
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/locale.h.html>`__
Functions
=========
.. list-table::
:widths: auto
:align: center
:header-rows: 1
* - Function
- Implemented
- C23 Standard Section
- POSIX Docs
* - duplocale
- |check|
-
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/functions/duplocale.html>`__
* - freelocale
- |check|
-
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/functions/freelocale.html>`__
* - getlocalename_l
-
-
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/functions/getlocalename_l.html>`__
* - localeconv
- |check|
- 7.11.2.1
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/functions/localeconv.html>`__
* - newlocale
- |check|
-
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/functions/newlocale.html>`__
* - setlocale
- |check|
- 7.11.1.1
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/functions/setlocale.html>`__
* - uselocale
- |check|
-
- `POSIX.1-2024 <https://pubs.opengroup.org/onlinepubs/9799919799/functions/uselocale.html>`__