vprintf/vfprintf/vsprintf

Jonathan Abbey jonabbey at ccwf.cc.utexas.edu
Thu Jan 31 07:52:01 AEST 1991


Greetings.. I am trying to put together a package on our Alliant (apE 2.0),
and have been unsucessful in doing so, as of the moment.  One of the
stumbling blocks is that a library in apE uses vfprintf and vsprintf, which
are versions of fprintf and sprintf designed to work with the varargs
macros.  I have looked at the source for sprintf and fprintf on our system,
and they use a common routine called doprnt(), which accepts arguments in
terms of an argument list, such as would be constructed by the varargs
macros.  It seems what I can see that I should be able to simply substitute
sprintf and fprintf for the varargs-specialized versions, but this does not
seem to work.

Any hints would be gratefully accepted.


-- 

Jonathan Abbey (512) 472-2052        \                           (512) 835-3081
jonabbey at ccwf.cc.utexas.edu           \        broccol at csdfx8a.arlut.utexas.edu
The University of Texas at Austin      \          Applied Research Laboratories



More information about the Comp.unix.programmer mailing list