pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/doc/portability-book/files + asprintf



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1641c7867f68
branches:  trunk
changeset: 521099:1641c7867f68
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Nov 05 07:24:33 2006 +0000

description:
+ asprintf

diffstat:

 doc/portability-book/files/functions.xml |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 5e2d89b061a6 -r 1641c7867f68 doc/portability-book/files/functions.xml
--- a/doc/portability-book/files/functions.xml  Sun Nov 05 07:24:04 2006 +0000
+++ b/doc/portability-book/files/functions.xml  Sun Nov 05 07:24:33 2006 +0000
@@ -1,4 +1,4 @@
-<!-- $NetBSD: functions.xml,v 1.3 2006/10/25 21:33:59 rillig Exp $ -->
+<!-- $NetBSD: functions.xml,v 1.4 2006/11/05 07:24:33 rillig Exp $ -->
 
 <chapter id="functions">
 <title>C/C++: functions</title>
@@ -35,6 +35,14 @@
 <sect1 id="functions.byname">
 <title>Functions on various platforms</title>
 
+<sect2 id="functions.asprintf">
+<title>asprintf</title>
+
+<para>Solaris 10 does not have this function. But it has
+<literal>snprintf</literal>, which can be used as a good replacement.</para>
+
+</sect2>
+
 <sect2 id="functions.getopt">
 <title>getopt</title>
 



Home | Main Index | Thread Index | Old Index