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

121 lines
2.5 KiB
JSON

{
"macros": {
"__STDC_NO_THREADS__": {
"c-definition": "7.28.1"
},
"ONCE_FLAG_INIT": {
"c-definition": "7.28.1",
"in-latest-posix": ""
},
"TSS_DTOR_ITERATIONS": {
"c-definition": "7.28.1",
"in-latest-posix": ""
},
"thread_local": {
"in-latest-posix": ""
}
},
"functions": {
"call_once": {
"c-definition": "7.28.2.1",
"in-latest-posix": ""
},
"cnd_broadcast": {
"c-definition": "7.28.3.1",
"in-latest-posix": ""
},
"cnd_destroy": {
"c-definition": "7.28.3.2",
"in-latest-posix": ""
},
"cnd_init": {
"c-definition": "7.28.3.3",
"in-latest-posix": ""
},
"cnd_signal": {
"c-definition": "7.28.3.4",
"in-latest-posix": ""
},
"cnd_timedwait": {
"c-definition": "7.28.3.5",
"in-latest-posix": ""
},
"cnd_wait": {
"c-definition": "7.28.3.6",
"in-latest-posix": ""
},
"mtx_destroy": {
"c-definition": "7.28.4.2",
"in-latest-posix": ""
},
"mtx_init": {
"c-definition": "7.28.4.3",
"in-latest-posix": ""
},
"mtx_lock": {
"c-definition": "7.28.4.4",
"in-latest-posix": ""
},
"mtx_timedlock": {
"c-definition": "7.28.4.5",
"in-latest-posix": ""
},
"mtx_trylock": {
"c-definition": "7.28.4.6",
"in-latest-posix": ""
},
"mtx_unlock": {
"c-definition": "7.28.4.7",
"in-latest-posix": ""
},
"thrd_create": {
"c-definition": "7.28.5.1",
"in-latest-posix": ""
},
"thrd_current": {
"c-definition": "7.28.5.2",
"in-latest-posix": ""
},
"thrd_detach": {
"c-definition": "7.28.5.3",
"in-latest-posix": ""
},
"thrd_equal": {
"c-definition": "7.28.5.4",
"in-latest-posix": ""
},
"thrd_exit": {
"c-definition": "7.28.5.5",
"in-latest-posix": ""
},
"thrd_join": {
"c-definition": "7.28.5.6",
"in-latest-posix": ""
},
"thrd_sleep": {
"c-definition": "7.28.5.7",
"in-latest-posix": ""
},
"thrd_yield": {
"c-definition": "7.28.5.8",
"in-latest-posix": ""
},
"tss_create": {
"c-definition": "7.28.6.1",
"in-latest-posix": ""
},
"tss_delete": {
"c-definition": "7.28.6.2",
"in-latest-posix": ""
},
"tss_get": {
"c-definition": "7.28.6.3",
"in-latest-posix": ""
},
"tss_set": {
"c-definition": "7.28.6.4",
"in-latest-posix": ""
}
}
}