Re: send_to_charf, Take 2

From: Daniel A. Koepke (
Date: 07/10/01

On Tue, 10 Jul 2001, Carlos Myers wrote:

> Are you referring to function overloading?

No, he's not.  He's talking about the glibc printf() extensions that allow
you to register new conversion specifiers.  This is done with the
register_printf_function() function.  It's a bit on the arcane side, but
it's fairly easy to do.  Anyway, it only works for printf() (and _maybe_
fprintf()?).  It's incompatability with sprintf() (and associates) is
guranteed by the fact that the registered specifier handler takes a FILE
pointer argument and is expected to write the converted data there.

IOW, it would be of no use for something like send_to_charf().


   | FAQ: |
   | Archives: |

This archive was generated by hypermail 2b30 : 12/06/01 PST