Previous: tmpnam_r
, Up: Glibc Extensions to <stdio.h>
[Contents][Index]
vasprintf
LSB specification:
https://refspecs.linuxbase.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/baselib-vasprintf.html
Documentation:
Gnulib module: vasprintf or vasprintf-posix or vasprintf-gnu
Portability problems fixed by either Gnulib module vasprintf
or vasprintf-posix
or vasprintf-gnu
:
Portability problems fixed by either Gnulib module vasprintf-posix
or vasprintf-gnu
:
hh
, ll
,
j
, t
, z
) on some platforms:
Cygwin 1.5.24.
w8
,
w16
, w32
, w64
, wf8
, wf16
, wf32
,
wf64
) on some platforms:
glibc 2.37, musl libc, macOS 14, FreeBSD 13.2, NetBSD 10.0, OpenBSD 7.5, AIX 7.3, Solaris 11.4, Cygwin 3.5.3, mingw, MSVC, Android 9.0.
"%f"
, "%e"
, "%g"
of Infinity and NaN yields an
incorrect result on some platforms:
AIX 7.3, Solaris 11.4.
"%2$s"
, on some platforms:
NetBSD 3.0.
'
flag on some platforms:
NetBSD 3.0, Cygwin 1.5.24.
"%010f"
of NaN and Infinity yields an incorrect result (padded
with zeroes) on some platforms:
Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 7.3, Solaris 11.4, Cygwin 1.5.x.
"%#.0x"
or "%#.0X"
with a zero argument yields an
incorrect result (non-empty) on some platforms:
Mac OS X 10.6.
Portability problems fixed by Gnulib module vasprintf-gnu
:
Portability problems not fixed by Gnulib:
%m
directive is not portable, use %s
mapped to an
argument of strerror(errno)
(or a version of strerror_r
)
instead.
Previous: tmpnam_r
, Up: Glibc Extensions to <stdio.h>
[Contents][Index]