diff --git a/libc/docs/CMakeLists.txt b/libc/docs/CMakeLists.txt index 9ab1d90a682ec..4fa621fb2a051 100644 --- a/libc/docs/CMakeLists.txt +++ b/libc/docs/CMakeLists.txt @@ -18,6 +18,7 @@ if (SPHINX_FOUND) # shell. file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/headers/arpa/" + "${CMAKE_CURRENT_BINARY_DIR}/headers/net/" "${CMAKE_CURRENT_BINARY_DIR}/headers/netinet/" "${CMAKE_CURRENT_BINARY_DIR}/headers/sys/" ) @@ -42,6 +43,7 @@ if (SPHINX_FOUND) float inttypes locale + net/if netinet/in setjmp signal diff --git a/libc/docs/headers/index.rst b/libc/docs/headers/index.rst index f6f62826600c8..2295a8cc8853c 100644 --- a/libc/docs/headers/index.rst +++ b/libc/docs/headers/index.rst @@ -15,6 +15,7 @@ Implementation Status inttypes locale math/index.rst + net/if netinet/in search setjmp diff --git a/libc/utils/docgen/net/if.yaml b/libc/utils/docgen/net/if.yaml new file mode 100644 index 0000000000000..085d27b2bb94f --- /dev/null +++ b/libc/utils/docgen/net/if.yaml @@ -0,0 +1,13 @@ +functions: + if_freenameindex: + in-latest-posix: '' + if_indextoname: + in-latest-posix: '' + if_nameindex: + in-latest-posix: '' + if_nametoindex: + in-latest-posix: '' + +macros: + IF_NAMESIZE: + in-latest-posix: '' \ No newline at end of file