aboutsummaryrefslogtreecommitdiff
path: root/winsup/doc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2005-08-17 18:23:39 +0000
committerChristopher Faylor <me@cgf.cx>2005-08-17 18:23:39 +0000
commitabed5965caf2efe030b4717460a2faa7ac5de421 (patch)
tree29d5842ab550609accedd866571e4f623b1af298 /winsup/doc
parent9c14f30d8b4a9e2b1b9189ed8d5d3b566f340d40 (diff)
downloadnewlib-abed5965caf2efe030b4717460a2faa7ac5de421.zip
newlib-abed5965caf2efe030b4717460a2faa7ac5de421.tar.gz
newlib-abed5965caf2efe030b4717460a2faa7ac5de421.tar.bz2
* textbinary.sgml: Correct incorrect information about ability to specify text
mode in fopen().
Diffstat (limited to 'winsup/doc')
-rw-r--r--winsup/doc/ChangeLog5
-rw-r--r--winsup/doc/textbinary.sgml4
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index 274b9c5..d87b4a6 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -1,3 +1,8 @@
+2005-08-17 Christopher Faylor <cgf@timesys.com>
+
+ * textbinary.sgml: Correct incorrect information about ability to
+ specify text mode in fopen().
+
2005-08-05 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* cygwin.dsl: Add default DOCTYPE and output filename.
diff --git a/winsup/doc/textbinary.sgml b/winsup/doc/textbinary.sgml
index 3e1274d..1e74c58 100644
--- a/winsup/doc/textbinary.sgml
+++ b/winsup/doc/textbinary.sgml
@@ -158,8 +158,8 @@ specified with the flag <literal>O_BINARY</literal> and text mode with
<filename>fcntl.h</filename>.</para>
<para>In the <function>fopen()</function> function call, binary mode can be
-specified by adding a <literal>b</literal> to the mode string. There is no
-direct way to specify text mode.</para>
+specified by adding a <literal>b</literal> to the mode string. Text mode is specified
+by adding a <literal>t</literal> to the mode string.</para>
<para>The mode of a file can be changed by the call
<function>setmode(fd,mode)</function> where <literal>fd</literal> is a file