[net.unix-wizards] _doprnt and friends, the moral

minow@decvax.UUCP (Martin Minow) (06/23/84)

The moral of the story is that there is a perceived need for
a _doprnt-like facility.  Perhaps someone could propose
a routine such as the following to the ANSI committee:

	vprintf(iov, format, vector)
	FILE *iov;	/* Stream to output to		*/
	char *format;	/* printf format string		*/
	STUFF *vector;	/* vector of data for output	*/

STUFF would be defined as the union of all built-in datatypes.

vsprintf(buffer, ...), vscanf(), and vsscanf() might also be useful.

Martin Minow
decvax!minow

henry@utzoo.UUCP (Henry Spencer) (06/24/84)

The ANSI C committee does want to define a (more or less) machine-
independent way to do printf.  I wish them luck; it's hard.
-- 
				Henry Spencer @ U of Toronto Zoology
				{allegra,ihnp4,linus,decvax}!utzoo!henry