From 153385d847b991e042bf2ae7252f9c35a3d45516 Mon Sep 17 00:00:00 2001 From: Jon TURNEY Date: Tue, 23 Jun 2015 14:35:00 +0100 Subject: [PATCH] Use source files which have makedoc markup, but aren't processed or included. These source files have makedoc markup, but aren't listed to be chewed by makedoc. I am assuming that is accidental. Future work: Note that stdio/fseeko.c, stdio/ftello.c and common/s_isnand.c have makedoc markup, but duplicate stdio/fseek.c, stdio/ftell.c and common/s_isnan.c respectively. 2015-06-23 Jon Turney * libc/ctype/Makefile.am (CHEWOUT_FILES): Add isblank.def. * libc/ctype/ctype.tex: Include isblank and add to menu. * libc/posix/Makefile.am (CHEWOUT_FILES): Add posix_spawn.def. * libc/posix/posix.tex: Include posix_spawn and add to menu. * libc/stdio64/Makefile.am (CHEWOUT_FILES): Add fdopen.def. * libc/stdio64/stdio64.tex: Include fdopen64 and add to menu. * libc/stdio64/fdopen64.c: Improve one-line description. * libc/string/Makefile.am (CHEWOUT_FILES): Add strchrnul.def. * libc/string/strings.tex: Include strchrnul and add to menu. Signed-off-by: Jon TURNEY --- newlib/ChangeLog | 12 ++++++++++++ newlib/libc/ctype/Makefile.am | 1 + newlib/libc/ctype/ctype.tex | 4 ++++ newlib/libc/posix/Makefile.am | 3 ++- newlib/libc/posix/posix.tex | 3 +++ newlib/libc/stdio64/Makefile.am | 1 + newlib/libc/stdio64/fdopen64.c | 2 +- newlib/libc/stdio64/stdio64.tex | 6 +++++- newlib/libc/string/Makefile.am | 2 +- newlib/libc/string/strings.tex | 4 ++++ 10 files changed, 34 insertions(+), 4 deletions(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 834db7c38..7fbba6d95 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,15 @@ +2015-06-23 Jon Turney + + * libc/ctype/Makefile.am (CHEWOUT_FILES): Add isblank.def. + * libc/ctype/ctype.tex: Include isblank and add to menu. + * libc/posix/Makefile.am (CHEWOUT_FILES): Add posix_spawn.def. + * libc/posix/posix.tex: Include posix_spawn and add to menu. + * libc/stdio64/Makefile.am (CHEWOUT_FILES): Add fdopen.def. + * libc/stdio64/stdio64.tex: Include fdopen64 and add to menu. + * libc/stdio64/fdopen64.c: Improve one-line description. + * libc/string/Makefile.am (CHEWOUT_FILES): Add strchrnul.def. + * libc/string/strings.tex: Include strchrnul and add to menu. + 2015-06-23 Jon Turney * libc/stdlib/stdlib.tex: Include itoa and utoa, and add to menu. diff --git a/newlib/libc/ctype/Makefile.am b/newlib/libc/ctype/Makefile.am index 3d351aeca..785bf7a98 100644 --- a/newlib/libc/ctype/Makefile.am +++ b/newlib/libc/ctype/Makefile.am @@ -67,6 +67,7 @@ CHEWOUT_FILES= \ isalnum.def \ isalpha.def \ isascii.def \ + isblank.def \ iscntrl.def \ isdigit.def \ islower.def \ diff --git a/newlib/libc/ctype/ctype.tex b/newlib/libc/ctype/ctype.tex index d15e86b30..9f0510aa5 100644 --- a/newlib/libc/ctype/ctype.tex +++ b/newlib/libc/ctype/ctype.tex @@ -10,6 +10,7 @@ The header file @file{ctype.h} defines the macros. * isalnum:: Alphanumeric character predicate * isalpha:: Alphabetic character predicate * isascii:: ASCII character predicate +* isblank:: Blank character predicate * iscntrl:: Control character predicate * isdigit:: Decimal digit predicate * islower:: Lowercase character predicate @@ -50,6 +51,9 @@ The header file @file{ctype.h} defines the macros. @page @include ctype/isascii.def +@page +@include ctype/isblank.def + @page @include ctype/iscntrl.def diff --git a/newlib/libc/posix/Makefile.am b/newlib/libc/posix/Makefile.am index aca993e04..0056cc109 100644 --- a/newlib/libc/posix/Makefile.am +++ b/newlib/libc/posix/Makefile.am @@ -52,7 +52,8 @@ endif # USE_LIBTOOL include $(srcdir)/../../Makefile.shared CHEWOUT_FILES = \ - popen.def + popen.def \ + posix_spawn.def SUFFIXES = .def diff --git a/newlib/libc/posix/posix.tex b/newlib/libc/posix/posix.tex index 4c85fce5b..6fb662bdc 100644 --- a/newlib/libc/posix/posix.tex +++ b/newlib/libc/posix/posix.tex @@ -6,8 +6,11 @@ not by C. Each function documents which header to use. @menu * popen:: Create a stream tied to a child process +* posix_spawn:: Spawn a process @end menu @page @include posix/popen.def +@page +@include posix/posix_spawn.def diff --git a/newlib/libc/stdio64/Makefile.am b/newlib/libc/stdio64/Makefile.am index 60509de0a..914cbca2b 100644 --- a/newlib/libc/stdio64/Makefile.am +++ b/newlib/libc/stdio64/Makefile.am @@ -43,6 +43,7 @@ include $(srcdir)/../../Makefile.shared AM_CFLAGS = -I $(srcdir)/../stdio CHEWOUT_FILES = \ + fdopen64.def \ fgetpos64.def \ fopen64.def \ freopen64.def \ diff --git a/newlib/libc/stdio64/fdopen64.c b/newlib/libc/stdio64/fdopen64.c index 659d343e5..f386583ca 100644 --- a/newlib/libc/stdio64/fdopen64.c +++ b/newlib/libc/stdio64/fdopen64.c @@ -1,6 +1,6 @@ /* FUNCTION -<>---turn open file into a stream +<>---turn open large file into a stream INDEX fdopen64 diff --git a/newlib/libc/stdio64/stdio64.tex b/newlib/libc/stdio64/stdio64.tex index 55818c354..95f898f3d 100644 --- a/newlib/libc/stdio64/stdio64.tex +++ b/newlib/libc/stdio64/stdio64.tex @@ -9,7 +9,8 @@ system, but these functions provide a uniform interface. The corresponding declarations are in @file{stdio.h}. -@menu +@menu +* fdopen64:: Turn open large file into a stream * fopen64:: Open a large file * freopen64:: Open a large file using an existing file descriptor * fsetpos64:: Restore position of a large stream or file @@ -19,6 +20,9 @@ The corresponding declarations are in @file{stdio.h}. * tmpfile64:: Create a temporary large file @end menu +@page +@include stdio64/fdopen64.def + @page @include stdio64/fopen64.def diff --git a/newlib/libc/string/Makefile.am b/newlib/libc/string/Makefile.am index e73bfdccd..ba49af850 100644 --- a/newlib/libc/string/Makefile.am +++ b/newlib/libc/string/Makefile.am @@ -143,7 +143,7 @@ wcsncmp.def wcsncpy.def wcsnlen.def wcspbrk.def \ wcsrchr.def wcsspn.def wcsstr.def wcstok.def \ wcswidth.def wcsxfrm.def wcwidth.def wmemchr.def \ wmemcmp.def wmemcpy.def wmemmove.def wmemset.def \ -memmem.def memrchr.def rawmemchr.def +memmem.def memrchr.def rawmemchr.def strchrnul.def SUFFIXES = .def diff --git a/newlib/libc/string/strings.tex b/newlib/libc/string/strings.tex index 9dfc7990a..83b7c6af6 100644 --- a/newlib/libc/string/strings.tex +++ b/newlib/libc/string/strings.tex @@ -27,6 +27,7 @@ managing areas of memory. The corresponding declarations are in * strcasestr:: Find string segment ignoring case * strcat:: Concatenate strings * strchr:: Search for character in string +* strchrnul:: Search for character in string * strcmp:: Character string compare * strcoll:: Locale-specific character string compare * strcpy:: Copy string @@ -117,6 +118,9 @@ managing areas of memory. The corresponding declarations are in @page @include string/strchr.def +@page +@include string/strchrnul.def + @page @include string/strcmp.def