Q: Does snprintf() exist? It's not in libc(); if not, what can I use in
its stead?
A (thanks to the many parties who responded):
snprintf() is indeed not yet in the DU 4.0 libc. There is one in libdb
which can be linked in, and it is likely to be supported in future
releases (4.2).
I also was sent a portable snprintf() to compile; I haven't tried it, but
it supposedly works under DU and has the advantage of having source.
I will make it available by anonymous ftp as
ftp://hcs.harvard.edu/pub/members/krinsky/unix/portable_snprintf.c
Thanks again to all who responded.
Dave Krinsky
System Administrator
Harvard Computer Society
Received on Wed Aug 28 1996 - 00:35:33 NZST