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.
156 lines
2.1 KiB
ReStructuredText
156 lines
2.1 KiB
ReStructuredText
.. 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
|
|
-
|