Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2024-01-05 08:01:23 +0300
committerMike Frysinger <vapier@gentoo.org>2024-01-23 05:58:58 +0300
commit72b6105518afd82e01abe946ba5867f98d6be37a (patch)
treed647bfe097eb78d03ca43f126949b2ad03d80492 /newlib/libc/libc.texi
parent613267aa6ede2f147ee03035ecc11716cbc5d457 (diff)
newlib: docs: add "Function " to every function node
When creating a split manual with one-node-per-page, the main index.html ends up getting clobbered by the page for the index() function because it uses "@node index" which, for html, also creates an index.html page. To remedy this, add "Function " to every function node so now we output "Function-index.html" and avoid clobbering. It also namespaces every other function and helps make sure we don't clobber anything else. Otherwise, there isn't really much rendering difference as @node text is mostly internal. Node title text comes from @section instead.
Diffstat (limited to 'newlib/libc/libc.texi')
-rw-r--r--newlib/libc/libc.texi28
1 files changed, 14 insertions, 14 deletions
diff --git a/newlib/libc/libc.texi b/newlib/libc/libc.texi
index a642f424b..1d798d11e 100644
--- a/newlib/libc/libc.texi
+++ b/newlib/libc/libc.texi
@@ -208,13 +208,13 @@ also defines a special type to represent variable argument lists: this
type is called @code{va_list}.
@menu
-* va_start::
-* va_arg::
-* va_end::
+* Function va_start::
+* Function va_arg::
+* Function va_end::
@end menu
@page
-@node va_start
+@node Function va_start
@subsection Initialize variable argument list
@findex va_start
@strong{Synopsis}
@@ -239,7 +239,7 @@ variable arguments in an ANSI C function header). You can only use
ANSI C requires @code{va_start}.
@page
-@node va_arg
+@node Function va_arg
@subsection Extract a value from argument list
@findex va_arg
@strong{Synopsis}
@@ -273,7 +273,7 @@ in your function call.
ANSI C requires @code{va_arg}.
@page
-@node va_end
+@node Function va_end
@subsection Abandon a variable argument list
@findex va_end
@strong{Synopsis}
@@ -307,14 +307,14 @@ As with @file{stdarg.h}, the type @code{va_list} is used to hold a data
structure representing a variable argument list.
@menu
-* va_alist::
-* va_start-trad::
-* va_arg-trad::
-* va_end-trad::
+* Function va_alist::
+* Function va_start-trad::
+* Function va_arg-trad::
+* Function va_end-trad::
@end menu
@page
-@node va_alist
+@node Function va_alist
@subsection Declare variable arguments
@findex va_alist
@findex va_dcl
@@ -340,7 +340,7 @@ possible.
declaring variable argument lists prior to ANSI C.
@page
-@node va_start-trad
+@node Function va_start-trad
@subsection Initialize variable argument list
@findex va_start
@strong{Synopsis}
@@ -364,7 +364,7 @@ definitions are incompatible; the ANSI version has another parameter
besides @var{ap}.
@page
-@node va_arg-trad
+@node Function va_arg-trad
@subsection Extract a value from argument list
@findex va_arg
@strong{Synopsis}
@@ -387,7 +387,7 @@ The @code{va_arg} defined in @file{varargs.h} has the same syntax and
usage as the ANSI C version from @file{stdarg.h}.
@page
-@node va_end-trad
+@node Function va_end-trad
@subsection Abandon a variable argument list
@findex va_end
@strong{Synopsis}