[newlib-cygwin] Use source files which have makedoc markup, but aren't processed or included.
Jon TURNEY
jturney@sourceware.org
Wed Jun 24 12:55:00 GMT 2015
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=153385d847b991e042bf2ae7252f9c35a3d45516
commit 153385d847b991e042bf2ae7252f9c35a3d45516
Author: Jon TURNEY <jon.turney@dronecode.org.uk>
Date: Tue Jun 23 14:35:00 2015 +0100
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 <jon.turney@dronecode.org.uk>
* 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 <jon.turney@dronecode.org.uk>
Diff:
---
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 834db7c..7fbba6d 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,17 @@
2015-06-23 Jon Turney <jon.turney@dronecode.org.uk>
+ * 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 <jon.turney@dronecode.org.uk>
+
* libc/stdlib/stdlib.tex: Include itoa and utoa, and add to menu.
* libc/string/strings.tex: Include memrchr and rawmemchr, and add
to menu.
diff --git a/newlib/libc/ctype/Makefile.am b/newlib/libc/ctype/Makefile.am
index 3d351ae..785bf7a 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 d15e86b..9f0510a 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
@@ -51,6 +52,9 @@ The header file @file{ctype.h} defines the macros.
@include ctype/isascii.def
@page
+@include ctype/isblank.def
+
+@page
@include ctype/iscntrl.def
@page
diff --git a/newlib/libc/posix/Makefile.am b/newlib/libc/posix/Makefile.am
index aca993e..0056cc1 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 4c85fce..6fb662b 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 60509de..914cbca 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 659d343..f386583 100644
--- a/newlib/libc/stdio64/fdopen64.c
+++ b/newlib/libc/stdio64/fdopen64.c
@@ -1,6 +1,6 @@
/*
FUNCTION
-<<fdopen64>>---turn open file into a stream
+<<fdopen64>>---turn open large file into a stream
INDEX
fdopen64
diff --git a/newlib/libc/stdio64/stdio64.tex b/newlib/libc/stdio64/stdio64.tex
index 55818c3..95f898f 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
@@ -20,6 +21,9 @@ The corresponding declarations are in @file{stdio.h}.
@end menu
@page
+@include stdio64/fdopen64.def
+
+@page
@include stdio64/fopen64.def
@page
diff --git a/newlib/libc/string/Makefile.am b/newlib/libc/string/Makefile.am
index e73bfdc..ba49af8 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 9dfc799..83b7c6a 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
@@ -118,6 +119,9 @@ managing areas of memory. The corresponding declarations are in
@include string/strchr.def
@page
+@include string/strchrnul.def
+
+@page
@include string/strcmp.def
@page
More information about the Newlib-cvs
mailing list