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

218 lines
4.4 KiB
JSON

{
"macros": {
"__STDC_VERSION_STDLIB_H__": {
"c-definition": "7.24"
},
"EXIT_FAILURE": {
"c-definition": "7.24",
"in-latest-posix": ""
},
"EXIT_SUCCESS": {
"c-definition": "7.24",
"in-latest-posix": ""
},
"RAND_MAX": {
"c-definition": "7.24",
"in-latest-posix": ""
},
"MB_CUR_MAX": {
"c-definition": "7.24",
"in-latest-posix": ""
}
},
"functions": {
"atof": {
"c-definition": "7.24.1.1",
"in-latest-posix": ""
},
"atoi": {
"c-definition": "7.24.1.2",
"in-latest-posix": ""
},
"atol": {
"c-definition": "7.24.1.2",
"in-latest-posix": ""
},
"atoll": {
"c-definition": "7.24.1.2",
"in-latest-posix": ""
},
"strfromd": {
"c-definition": "7.24.1.3"
},
"strfromf": {
"c-definition": "7.24.1.3"
},
"strfroml": {
"c-definition": "7.24.1.3"
},
"strfromd32": {
"c-definition": "7.24.1.4"
},
"strfromd64": {
"c-definition": "7.24.1.4"
},
"strfromd128": {
"c-definition": "7.24.1.4"
},
"strtod": {
"c-definition": "7.24.1.5",
"in-latest-posix": ""
},
"strtof": {
"c-definition": "7.24.1.5",
"in-latest-posix": ""
},
"strtold": {
"c-definition": "7.24.1.5",
"in-latest-posix": ""
},
"strtod32": {
"c-definition": "7.24.1.6"
},
"strtod64": {
"c-definition": "7.24.1.6"
},
"strtod128": {
"c-definition": "7.24.1.6"
},
"strtol": {
"c-definition": "7.24.1.7",
"in-latest-posix": ""
},
"strtoll": {
"c-definition": "7.24.1.7",
"in-latest-posix": ""
},
"strtoul": {
"c-definition": "7.24.1.7",
"in-latest-posix": ""
},
"strtoull": {
"c-definition": "7.24.1.7",
"in-latest-posix": ""
},
"rand": {
"c-definition": "7.24.2.1",
"in-latest-posix": ""
},
"srand": {
"c-definition": "7.24.2.2",
"in-latest-posix": ""
},
"aligned_alloc": {
"c-definition": "7.24.3.1",
"in-latest-posix": ""
},
"calloc": {
"c-definition": "7.24.3.2",
"in-latest-posix": ""
},
"free": {
"c-definition": "7.24.3.3",
"in-latest-posix": ""
},
"free_sized": {
"c-definition": "7.24.3.4"
},
"free_aligned_sized": {
"c-definition": "7.24.3.5"
},
"malloc": {
"c-definition": "7.24.3.6",
"in-latest-posix": ""
},
"realloc": {
"c-definition": "7.24.3.7",
"in-latest-posix": ""
},
"abort": {
"c-definition": "7.24.4.1",
"in-latest-posix": ""
},
"atexit": {
"c-definition": "7.24.4.2",
"in-latest-posix": ""
},
"at_quick_exit": {
"c-definition": "7.24.4.3",
"in-latest-posix": ""
},
"exit": {
"c-definition": "7.24.4.4",
"in-latest-posix": ""
},
"_Exit": {
"c-definition": "7.24.4.5",
"in-latest-posix": ""
},
"getenv": {
"c-definition": "7.24.4.6",
"in-latest-posix": ""
},
"quick_exit": {
"c-definition": "7.24.4.7",
"in-latest-posix": ""
},
"system": {
"c-definition": "7.24.4.8",
"in-latest-posix": ""
},
"bsearch": {
"c-definition": "7.24.5.1",
"in-latest-posix": ""
},
"qsort": {
"c-definition": "7.24.5.2",
"in-latest-posix": ""
},
"abs": {
"c-definition": "7.24.6.1",
"in-latest-posix": ""
},
"labs": {
"c-definition": "7.24.6.1",
"in-latest-posix": ""
},
"llabs": {
"c-definition": "7.24.6.1",
"in-latest-posix": ""
},
"div": {
"c-definition": "7.24.6.2",
"in-latest-posix": ""
},
"ldiv": {
"c-definition": "7.24.6.2",
"in-latest-posix": ""
},
"lldiv": {
"c-definition": "7.24.6.2",
"in-latest-posix": ""
},
"mblen": {
"c-definition": "7.24.7.1",
"in-latest-posix": ""
},
"mbtowc": {
"c-definition": "7.24.7.2",
"in-latest-posix": ""
},
"wctomb": {
"c-definition": "7.24.7.3",
"in-latest-posix": ""
},
"mbstowcs": {
"c-definition": "7.24.8.1",
"in-latest-posix": ""
},
"wcstombs": {
"c-definition": "7.24.8.2",
"in-latest-posix": ""
},
"memalignment": {
"c-definition": "7.24.9.1"
}
}
}