Files
clang-p2996/libc/utils/docgen/string.json
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

100 lines
2.0 KiB
JSON

{
"macros": {
"__STDC_VERSION_STRING_H__": {
"c-definition": "7.26.1"
}
},
"functions": {
"memcpy": {
"c-definition": "7.26.2.1"
},
"memccpy": {
"c-definition": "7.26.2.2"
},
"mempcpy": {
"c-definition": "TODO: glibc extension"
},
"memmove": {
"c-definition": "7.26.2.3"
},
"strcpy": {
"c-definition": "7.26.2.4"
},
"strncpy": {
"c-definition": "7.26.2.5"
},
"stpcpy": {
"posix-definition": "https://pubs.opengroup.org/onlinepubs/9799919799/functions/stpcpy.html"
},
"stpncpy": {
"posix-definition": "https://pubs.opengroup.org/onlinepubs/9799919799/functions/stpncpy.html"
},
"strdup": {
"c-definition": "7.26.2.6"
},
"strndup": {
"c-definition": "7.26.2.7"
},
"strcat": {
"c-definition": "7.26.3.1"
},
"strncat": {
"c-definition": "7.26.3.2"
},
"memcmp": {
"c-definition": "7.26.4.1"
},
"strcmp": {
"c-definition": "7.26.4.2"
},
"strcoll": {
"c-definition": "7.26.4.3"
},
"strncmp": {
"c-definition": "7.26.4.4"
},
"strxfrm": {
"c-definition": "7.26.4.5"
},
"memchr": {
"c-definition": "7.26.5.2"
},
"strchr": {
"c-definition": "7.26.5.3"
},
"strcspn": {
"c-definition": "7.26.5.4"
},
"strpbrk": {
"c-definition": "7.26.5.5"
},
"strrchr": {
"c-definition": "7.26.5.6"
},
"strspn": {
"c-definition": "7.26.5.7"
},
"strstr": {
"c-definition": "7.26.5.8"
},
"strtok": {
"c-definition": "7.26.5.9"
},
"strtok_r": {
"posix-definition": "https://pubs.opengroup.org/onlinepubs/9799919799/functions/strtok_r.html"
},
"memset": {
"c-definition": "7.26.6.1"
},
"memset_explicit": {
"c-definition": "7.26.6.2"
},
"strerror": {
"c-definition": "7.26.6.3"
},
"strlen": {
"c-definition": "7.26.6.4"
}
}
}