|
|
1.1 root 1: /* Begin iostream_printf.H -- printf functions that work on ostreams.
2: someday, perhaps, scanf functions for istreams. */
3:
4: #include <stdarg.h>
5: #include <iostream.h>
6:
7: int vostream_printf(const char *format, va_list argp, ostream& fp);
8: int ostream_printf(ostream& stream, const char * format ...);
9: // returns count of characters added.
10: int printf_to_string (char * string, int length, const char * format ...);
11: // returns string which came from malloc.
12: char * printf_to_alloc_string (const char * format ...);
13:
14: /* End iostream_printf.H */
15:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.