From 838e5ffe9e0071859b635151729192dedbf104a7 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 19 Mar 1998 14:32:08 +0000 Subject: Update. 1998-03-19 14:28 Ulrich Drepper * 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 * intl/localealias.c: Remove unneeded define for strdup. 1998-03-19 13:45 Ulrich Drepper * 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 . 1998-03-19 20:45 Tim Waugh * posix/wordexp.c (parse_param): Don't immediately stop parsing a parameter name after seeing a digit if it's enclosed in braces. --- manual/stdio.texi | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'manual/stdio.texi') 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 -- cgit 1.4.1