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
path: root/newlib
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2024-01-05 08:00:22 +0300
committerMike Frysinger <vapier@gentoo.org>2024-01-23 05:58:58 +0300
commit613267aa6ede2f147ee03035ecc11716cbc5d457 (patch)
tree62c9166d14927b0be8c24952722cc9517a9b3360 /newlib
parent5a8c23a73abe731846b254284651cdf54cee1131 (diff)
newlib: docs: print the function index
The generated function documentation makes sure to include entries for every function in the function index via @findex, but then the manuals forget to actually print the index.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/libc/libc.texi5
-rw-r--r--newlib/libm/libm.texi6
2 files changed, 11 insertions, 0 deletions
diff --git a/newlib/libc/libc.texi b/newlib/libc/libc.texi
index c6aeab227..a642f424b 100644
--- a/newlib/libc/libc.texi
+++ b/newlib/libc/libc.texi
@@ -155,6 +155,7 @@ into another language, under the above conditions for modified versions.
* Overflow Protection::
* Document Index::
+* Function Index::
@end menu
@end ifnottex
@@ -410,6 +411,10 @@ usage as the ANSI C version from @file{stdarg.h}.
@unnumbered Document Index
@printindex cp
+@node Function Index
+@unnumbered Function Index
+@printindex fn
+
@tex
% I think something like @@colophon should be in texinfo. In the
% meantime:
diff --git a/newlib/libm/libm.texi b/newlib/libm/libm.texi
index 943262d05..d322422c2 100644
--- a/newlib/libm/libm.texi
+++ b/newlib/libm/libm.texi
@@ -98,6 +98,7 @@ into another language, under the above conditions for modified versions.
* Reentrancy:: The functions in libm are not reentrant by default.
* Long Double Functions:: The long double function support of libm.
* Document Index::
+* Function Index::
@end menu
@include targetdep.tex
@@ -121,10 +122,15 @@ This makes it thread safe, and therefore reentrant.
Currently, the full set of long double math functions is only provided
on platforms where long double equals double.
For such platforms, the long double math functions are implemented as calls to the double versions.
+
@node Document Index
@unnumbered Document Index
@printindex cp
+@node Function Index
+@unnumbered Function Index
+@printindex fn
+
@tex
% I think something like @@colophon should be in texinfo. In the
% meantime: