Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.3 4.3bsd-beta 6/6/85; site ucbvax.BERKELEY.EDU Path: utzoo!decvax!bellcore!ulysses!cbosgd!ucbvax!apollo.UUCP!rees From: rees@APOLLO.UUCP (Jim Rees) Newsgroups: mod.computers.apollo Subject: Re: need sprintf for BSD4.2/IX Message-ID: <8603210455.AA01734@uw-beaver.arpa> Date: Thu, 20-Mar-86 13:28:51 EST Article-I.D.: uw-beave.8603210455.AA01734 Posted: Thu Mar 20 13:28:51 1986 Date-Received: Sat, 22-Mar-86 20:33:53 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 11 Approved: apollo@yale-comix.arpa Can anyone supply C source for a version of sprintf that runs under Domain/IX (BSD4.2)? I need to write functions like it (for printing error messages and so forth), and bsd4.2/ix stdio.h is different from stdio.h for both VAX and Sun, in that the _flag field has different values. It seems to me that it would be a bad idea to depend on the internals of stdio to get your job done. I always use vprintf, vfprintf, and vsprintf to do this sort of thing. -------