[comp.realtime] Needed: a stand-alone sprintf

frank@odetics.com (Frank Merrow) (09/26/90)

Hi,

I need a version of sprintf() that will totally stand on its own.  Most
versions that I have found are tied to printf(), <stdio.h>, FILE and all
that mess.  In my case, I am running in an embedded environment with
NO OPERATING SYSTEM at all to speak of and I certainly don't want to supply
all the <stdio.h> stuff.  I need a version of sprintf() that will do
formatting for me and then allow me to do the I/O directly with the UARTs
and other chips for output.  I actually have a version, but its copyright
status is a little shakey and it is a terrible implementation.  (The warning
messages fill a screen in Microsoft with /W3 dispite my repeated efforts to
fix that and I would probably fall on the floor laughing if I ever handed
the thing to lint.)  If anyone could direct me to a "good" PD version I would
appreciate it.

Frank