From 42be70d43174c6a6e80fbd25276d4eb04c6e5adf Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 15 Oct 2000 02:17:30 +0000 Subject: Update. 2000-10-28 Jes Sorensen * sysdeps/unix/sysv/linux/ia64/Versions: Export ioperm, iopl, inb, inw, inl, _inb, _inw, _inl, outb, outw, outl, _outb, _outw, _outl. Reported by Bill Nottingham. 2000-04-06 Andreas Schwab * sysdeps/ia64/dl-machine.h (TRAMPOLINE_TEMPLATE): Save and restore register r8 for functions that return a structure. 2000-10-12 Jakub Jelinek * math/libm-test.inc (M_PI_6l, M_E2l, M_E3l, M_2_SQRT_PIl, M_SQRT_PIl): Increase precision. (cbrt_test): If cbrt is not implemented, don't test it. Add L suffix to double constants in results which differ from their L suffixed counterparts. (exp10_test, fmod_test, frexp_test, hypot_test, sqrt_test): Likewise. * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Update. 2000-10-11 Jakub Jelinek * inet/rexec.c (rexec_af): Convert rport to host order before passing it to snprintf. 2000-10-14 Ulrich Drepper * sysdeps/gnu/netinet/tcp.h: Use u_intXX_t types instead of uintXX_t since this is what defines and we include this header. Reported by Bernhard Rosenkraenzer . * intl/localealias.c (read_alias_file): Update string pointers in map[] if realloc() changed the values. Patch by Jakub Jelinek . * manual/stdio.texi: Update printf extension documentation after z became a valid modifier. Patch by Joseph S. Myers . * timezone/africa: Update from tzcode2000g and tzdata2000g. * timezone/asia: Likewise. * timezone/australasia: Likewise. * timezone/backward: Likewise. * timezone/europe: Likewise. * timezone/iso3166.tab: Likewise. * timezone/northamerica: Likewise. * timezone/southamerica: Likewise. * timezone/zone.tab: Likewise. --- manual/stdio.texi | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'manual/stdio.texi') diff --git a/manual/stdio.texi b/manual/stdio.texi index 5c37698..e3e3918 100644 --- a/manual/stdio.texi +++ b/manual/stdio.texi @@ -2098,11 +2098,13 @@ The function to register a new output conversion is @comment GNU @deftypefun int register_printf_function (int @var{spec}, printf_function @var{handler-function}, printf_arginfo_function @var{arginfo-function}) This function defines the conversion specifier character @var{spec}. -Thus, if @var{spec} is @code{'z'}, it defines the conversion @samp{%z}. +Thus, if @var{spec} is @code{'Y'}, it defines the conversion @samp{%Y}. You can redefine the built-in conversions like @samp{%s}, but flag characters like @samp{#} and type modifiers like @samp{l} can never be used as conversions; calling @code{register_printf_function} for those -characters has no effect. +characters has no effect. It is advisable not to use lowercase letters, +since the ISO C standard warns that additional lowercase letters may be +standardized in future editions of the standard. The @var{handler-function} is the function called by @code{printf} and friends when this conversion appears in a template string. -- cgit v1.1