SUMMARY: snprintf()

From: Dave Krinsky <krinsky_at_hcs.harvard.edu>
Date: Tue, 27 Aug 1996 18:12:05 -0400 (EDT)

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

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:47 NZDT