_doprnt and friends, the moral

Martin Minow minow at decvax.UUCP
Sat Jun 23 09:41:39 AEST 1984


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



More information about the Comp.unix.wizards mailing list