| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
| Message-Id: | <200202280004.g1S04Uu28173@crown.virtual-domain.com> |
| X-Sender: | david AT domainename DOT com |
| X-Mailer: | QUALCOMM Windows Eudora Pro Version 4.0.1 |
| Date: | Thu, 28 Feb 2002 01:06:27 +0100 |
| To: | <djgpp-workers AT delorie DOT com>, <djgpp AT delorie DOT com> |
| From: | David TAILLANDIER <david DOT taillandier AT domainename DOT com> |
| Subject: | xnprintf library |
| Mime-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
I'm so stupid...
Same message, but with the URL :-)
http://domainename.com/software/xnprintf.html
As I needed asprintf() and snprintf() functions, I had to
wrote mine because I did not found one ready to use :-)
I have made a small library for
asprintf() / vasprintf()
nprintf() / vnprintf()
snprintf() / vsnprintf()
fnprintf() / vfnprintf()
This library works on 16 and 32-bit compilers.
Tested with an old Borland C/C++ (dos 16)
a new Borland C/C++ (dos 16 --- win 32)
djgpp C and C++ (dos 32)
gcc and g++ on a FreeBsd box
Cleanly coded (I think). No dirty hack.
Maybe very portable.
___________________________
David TAILLANDIER
dt AT domainename DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |