Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site decvax.UUCP
Path: utzoo!linus!decvax!minow
From: minow@decvax.UUCP (Martin Minow)
Newsgroups: net.unix-wizards
Subject: _doprnt and friends, the moral
Message-ID: <18@decvax.UUCP>
Date: Fri, 22-Jun-84 19:41:39 EDT
Article-I.D.: decvax.18
Posted: Fri Jun 22 19:41:39 1984
Date-Received: Sat, 23-Jun-84 07:15:49 EDT
References: <196@imsvax.UUCP>
Organization: DEC UNIX Engineering Group
Lines: 17

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