tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: snprintf()
@ 1996-08-27 22:12 Dave Krinsky
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Krinsky @ 1996-08-27 22:12 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* SUMMARY: snprintf()
@ 1996-08-27 22:12 Dave Krinsky
  0 siblings, 0 replies; 3+ messages in thread
From: Dave Krinsky @ 1996-08-27 22:12 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* SUMMARY: snprintf()
@ 1998-03-05 20:58 Tim Winders
  0 siblings, 0 replies; 3+ messages in thread
From: Tim Winders @ 1998-03-05 20:58 UTC (permalink / raw)
  To: tru64-unix-managers

As it turns out, Digital Unix 4.0D DOES have snprintf() as part of the
/usr/lib/libdb.a library.  I only had to include that library and
everything is working great!

Special Thanks to:
Dirk Grunwald <grunwald@foobar.cs.colorado.edu>

who figured this one out!

Thanks also to:
Tony Gale <gale@daedalus.dera.gov.uk> who suggested using the glibc-2.0.6
c library

and

Richard Bemrose <rb237@phy.cam.ac.uk> who pointed out the archives have a
reference to a portable snprintf program.

---------------------------------------------------------------------
|  Tim Winders, CNE              |  Email:  twinders@SPC.cc.tx.us   |
|  Network Administrator         |  Phone:  806-894-9611 x 2369     |
|  South Plains College          |  Fax:    806-897-4711            |
---------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1998-03-05 20:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1996-08-27 22:12 SUMMARY: snprintf() Dave Krinsky
  -- strict thread matches above, loose matches on Subject: below --
1998-03-05 20:58 Tim Winders
1996-08-27 22:12 Dave Krinsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox