summaryrefslogtreecommitdiff
path: root/manual/stdio.texi
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-19 14:32:08 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-19 14:32:08 +0000
commit838e5ffe9e0071859b635151729192dedbf104a7 (patch)
tree0886a5307590f0c708c9d1f7dfab853de0dc26b0 /manual/stdio.texi
parent7551a1e5100c596793fa182cd26346ff971d3a4f (diff)
1998-03-19 14:28 Ulrich Drepper <drepper@cygnus.com> * sysdeps/generic/strtok_r.c: Make __strtok_r real name and strtok_r weak alias. * sysdeps/i386/strtok_r.c: Likewise. * sysdeps/libm-i387/i686/s_fdim.S: Make it really work. * sysdeps/libm-i387/i686/s_fdimf.S: Likewise. * sysdeps/libm-i387/i686/s_fdiml.S: Likewise. * sysdeps/libm-i387/i686/s_fmin.S: Likewise. * sysdeps/libm-i387/i686/s_fminf.S: Likewise. * sysdeps/libm-i387/i686/s_fminl.S: Likewise. 1998-03-19 Andreas Jaeger <aj@arthur.rhein-neckar.de> * intl/localealias.c: Remove unneeded define for strdup. 1998-03-19 13:45 Ulrich Drepper <drepper@cygnus.com> * manual/argp.texi: Adjust for better TeX output. * manual/arith.texi: Likewise. * manual/conf.texi: Likewise. * manual/filesys.texi: Likewise. * manual/header.texi: Likewise. * manual/lgpl.texinfo: Likewise. * manual/math.texi: Likewise. * manual/message.texi: Likewise. * manual/pattern.texi: Likewise. * manual/process.texi: Likewise. * manual/signal.texi: Likewise. * manual/socket.texi: Likewise. * manual/startup.texi: Likewise. * manual/stdio.texi: Likewise. * manual/terminal.texi: Likewise. * manual/examples/rprintf.c: Likewise. * manual/examples/testopt.c: Likewise. Patches by Zack Weinberg <zack@rabi.phys.columbia.edu>. 1998-03-19 20:45 Tim Waugh <tim@cyberelk.demon.co.uk> * posix/wordexp.c (parse_param): Don't immediately stop parsing a parameter name after seeing a digit if it's enclosed in braces.
Diffstat (limited to 'manual/stdio.texi')
-rw-r--r--manual/stdio.texi23
1 files changed, 15 insertions, 8 deletions
diff --git a/manual/stdio.texi b/manual/stdio.texi
index 58605702e0..7b56787e95 100644
--- a/manual/stdio.texi
+++ b/manual/stdio.texi
@@ -1,5 +1,9 @@
@node I/O on Streams, Low-Level I/O, I/O Overview, Top
@chapter Input/Output on Streams
+@c fix an overfull:
+@tex
+\hyphenation{which-ever}
+@end tex
This chapter describes the functions for creating streams and performing
input and output operations on them. As discussed in @ref{I/O
@@ -1541,11 +1545,13 @@ make_message (char *name, char *value)
@group
if (nchars >= size)
@{
- /* @r{Reallocate buffer now that we know how much space is needed.} */
+ /* @r{Reallocate buffer now that we know
+ how much space is needed.} */
buffer = (char *) xrealloc (buffer, nchars + 1);
/* @r{Try again.} */
- snprintf (buffer, size, "value of %s is %s", name, value);
+ snprintf (buffer, size, "value of %s is %s",
+ name, value);
@}
/* @r{The last call worked, return the string.} */
return buffer;
@@ -1621,7 +1627,8 @@ the GNU C compiler provides a way to do this much more easily with macros.
For example:
@smallexample
-#define myprintf(a, b, c, d, e, rest...) printf (mytemplate , ## rest...)
+#define myprintf(a, b, c, d, e, rest...) \
+ printf (mytemplate , ## rest...)
@end smallexample
@noindent
@@ -2057,11 +2064,11 @@ If you define a meaning for @samp{%A}, what if the template contains
the handler when called needs to be able to get the options specified in
the template.
-Both the @var{handler-function} and @var{arginfo-function} arguments
-to @code{register_printf_function} accept an argument that points to a
-@code{struct printf_info}, which contains information about the options
-appearing in an instance of the conversion specifier. This data type
-is declared in the header file @file{printf.h}.
+Both the @var{handler-function} and @var{arginfo-function} accept an
+argument that points to a @code{struct printf_info}, which contains
+information about the options appearing in an instance of the conversion
+specifier. This data type is declared in the header file
+@file{printf.h}.
@pindex printf.h
@comment printf.h