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.
131 lines
2.6 KiB
JSON
131 lines
2.6 KiB
JSON
{
|
|
"macros": {
|
|
"__STDC_VERSION_STRING_H__": {
|
|
"c-definition": "7.26.1"
|
|
}
|
|
},
|
|
"functions": {
|
|
"memcpy": {
|
|
"c-definition": "7.26.2.1",
|
|
"in-latest-posix": ""
|
|
},
|
|
"memccpy": {
|
|
"c-definition": "7.26.2.2",
|
|
"in-latest-posix": ""
|
|
},
|
|
"mempcpy": {
|
|
"c-definition": "TODO: glibc extension"
|
|
},
|
|
"memmove": {
|
|
"c-definition": "7.26.2.3",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strcpy": {
|
|
"c-definition": "7.26.2.4",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strncpy": {
|
|
"c-definition": "7.26.2.5",
|
|
"in-latest-posix": ""
|
|
},
|
|
"stpcpy": {
|
|
"in-latest-posix": ""
|
|
},
|
|
"stpncpy": {
|
|
"in-latest-posix": ""
|
|
},
|
|
"strdup": {
|
|
"c-definition": "7.26.2.6",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strndup": {
|
|
"c-definition": "7.26.2.7",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strcat": {
|
|
"c-definition": "7.26.3.1",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strncat": {
|
|
"c-definition": "7.26.3.2",
|
|
"in-latest-posix": ""
|
|
},
|
|
"memcmp": {
|
|
"c-definition": "7.26.4.1",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strcmp": {
|
|
"c-definition": "7.26.4.2",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strcoll": {
|
|
"c-definition": "7.26.4.3",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strcoll_l": {
|
|
"in-latest-posix": ""
|
|
},
|
|
"strncmp": {
|
|
"c-definition": "7.26.4.4",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strxfrm": {
|
|
"c-definition": "7.26.4.5",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strxfrm_l": {
|
|
"in-latest-posix": ""
|
|
},
|
|
"memchr": {
|
|
"c-definition": "7.26.5.2",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strchr": {
|
|
"c-definition": "7.26.5.3",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strcspn": {
|
|
"c-definition": "7.26.5.4",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strpbrk": {
|
|
"c-definition": "7.26.5.5",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strrchr": {
|
|
"c-definition": "7.26.5.6",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strspn": {
|
|
"c-definition": "7.26.5.7",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strstr": {
|
|
"c-definition": "7.26.5.8",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strtok": {
|
|
"c-definition": "7.26.5.9",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strtok_r": {
|
|
"in-latest-posix": ""
|
|
},
|
|
"memset": {
|
|
"c-definition": "7.26.6.1",
|
|
"in-latest-posix": ""
|
|
},
|
|
"memset_explicit": {
|
|
"c-definition": "7.26.6.2"
|
|
},
|
|
"strerror": {
|
|
"c-definition": "7.26.6.3",
|
|
"in-latest-posix": ""
|
|
},
|
|
"strlen": {
|
|
"c-definition": "7.26.6.4",
|
|
"in-latest-posix": ""
|
|
}
|
|
}
|
|
}
|