Mercurial > gnulib
annotate doc/glibc-functions/obstack_printf.texi @ 39913:73d60b1f9c96
doc: Update for Solaris 11.4.
* doc/**/*.texi: For bugs that exist in both Solaris 11.3 and 11.4,
mention Solaris 11.4.
* m4/printf.m4: Update comments about Solaris.
* m4/log.m4: Likewise.
* m4/log10.m4: Likewise.
* m4/logb.m4: Likewise.
* m4/logbf.m4: Likewise.
* m4/logbl.m4: Likewise.
* m4/rename.m4: Likewise.
* m4/wcrtomb.m4: Likewise.
* m4/hostent.m4: Likewise.
* m4/servent.m4: Likewise.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 14 Oct 2018 09:33:46 +0200 |
parents | 41bd1e8f88b2 |
children | db717b5315cf |
rev | line source |
---|---|
9635
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1 @node obstack_printf |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
2 @subsection @code{obstack_printf} |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 @findex obstack_printf |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 |
10205
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
5 Gnulib module: obstack-printf or obstack-printf-posix |
9635
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
6 |
10205
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
7 Portability problems fixed by either Gnulib module |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
8 @code{obstack-printf} or @code{obstack-printf-posix}: |
9635
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
9 @itemize |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 @item |
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
11 This function is missing on all non-glibc platforms: |
39913
73d60b1f9c96
doc: Update for Solaris 11.4.
Bruno Haible <bruno@clisp.org>
parents:
19639
diff
changeset
|
12 Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, OpenBSD 3.8, Minix 3.1.8, AIX 5.1, HP-UX 11, IRIX 6.5, OSF/1 5.1, Solaris 11.4, Cygwin, mingw, MSVC 14, Interix 3.5, BeOS, Android 9.0. |
9635
3a9052fb8e95
New documentation of GNU libc functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
13 @end itemize |
10205
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
14 |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
15 Portability problems fixed by Gnulib module @code{ostack-printf-posix}: |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
16 @itemize |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
17 @item |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
18 This function does not support size specifiers as in C99 (@code{hh}, @code{ll}, |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
19 @code{j}, @code{t}, @code{z}) on some platforms: |
18977 | 20 AIX 5.1, HP-UX 11.23, IRIX 6.5, OSF/1 5.1, Solaris 9, Cygwin 1.5.24, mingw, MSVC 14, BeOS. |
10205
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
21 @item |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
22 printf of @samp{long double} numbers is unsupported on some platforms: |
18977 | 23 mingw, MSVC 14, BeOS. |
10205
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
24 @item |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
25 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
26 incorrect result on some platforms: |
19241
fc8be28143d4
all: Write "Solaris 11.0" instead of "Solaris 11 2011-11".
Bruno Haible <bruno@clisp.org>
parents:
18977
diff
changeset
|
27 AIX 5.2, OSF/1 5.1, Solaris 11.0, mingw, MSVC 14. |
10205
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
28 @item |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
29 This function does not support the @samp{a} and @samp{A} directives on some |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
30 platforms: |
16935
498a2211d839
Write "Mac OS X" instead of "MacOS X".
Bruno Haible <bruno@clisp.org>
parents:
16254
diff
changeset
|
31 glibc-2.3.6, Mac OS X 10.5, NetBSD 5.0, OpenBSD 4.0, AIX 5.2, HP-UX 11, |
39913
73d60b1f9c96
doc: Update for Solaris 11.4.
Bruno Haible <bruno@clisp.org>
parents:
19639
diff
changeset
|
32 IRIX 6.5, OSF/1 5.1, Solaris 11.4, Cygwin 1.5.x, mingw, MSVC 14, BeOS. |
10205
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
33 @item |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
34 This function does not support the @samp{F} directive on some platforms: |
11048
b885f8c983db
doc: mention more functions added in cygwin 1.7.0
Eric Blake <ebb9@byu.net>
parents:
10205
diff
changeset
|
35 NetBSD 3.0, AIX 5.1, HP-UX 11.23, IRIX 6.5, OSF/1 5.1, Solaris 9, |
18977 | 36 Cygwin 1.5.x, mingw, MSVC 14, BeOS. |
15591
2171e9d2231b
*printf: Add support for MSVC compiler.
Bruno Haible <bruno@clisp.org>
parents:
15481
diff
changeset
|
37 @item |
2171e9d2231b
*printf: Add support for MSVC compiler.
Bruno Haible <bruno@clisp.org>
parents:
15481
diff
changeset
|
38 This function does not support the @samp{n} directive on some platforms: |
18977 | 39 MSVC 14. |
10205
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
40 @item |
11219
aaeb2f86d096
Fix *printf behaviour regarding the %ls directive.
Bruno Haible <bruno@clisp.org>
parents:
11048
diff
changeset
|
41 This function does not support the @samp{ls} directive on some platforms: |
11234
cf3001cea096
Separate two tests. Mention the platforms in canonical order.
Bruno Haible <bruno@clisp.org>
parents:
11225
diff
changeset
|
42 OpenBSD 4.0, IRIX 6.5, Solaris 2.6, Cygwin 1.5.x, Haiku. |
11219
aaeb2f86d096
Fix *printf behaviour regarding the %ls directive.
Bruno Haible <bruno@clisp.org>
parents:
11048
diff
changeset
|
43 @item |
11223
41012a39667b
Work around a *printf bug with %ls on Solaris.
Bruno Haible <bruno@clisp.org>
parents:
11219
diff
changeset
|
44 This function does not support precisions in the @samp{ls} directive correctly |
41012a39667b
Work around a *printf bug with %ls on Solaris.
Bruno Haible <bruno@clisp.org>
parents:
11219
diff
changeset
|
45 on some platforms: |
39913
73d60b1f9c96
doc: Update for Solaris 11.4.
Bruno Haible <bruno@clisp.org>
parents:
19639
diff
changeset
|
46 Solaris 11.4. |
11223
41012a39667b
Work around a *printf bug with %ls on Solaris.
Bruno Haible <bruno@clisp.org>
parents:
11219
diff
changeset
|
47 @item |
10205
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
48 This function does not support format directives that access arguments in an |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
49 arbitrary order, such as @code{"%2$s"}, on some platforms: |
18977 | 50 NetBSD 3.0, mingw, MSVC 14, BeOS. |
10205
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
51 @item |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
52 This function doesn't support the @code{'} flag on some platforms: |
18977 | 53 NetBSD 3.0, Cygwin 1.5.24, mingw, MSVC 14. |
10205
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
54 @item |
18803
f581ad1383c6
*printf: Work around rounding bug on Mac OS X.
Bruno Haible <bruno@clisp.org>
parents:
16935
diff
changeset
|
55 This function does not round the argument of the @samp{a} directive correctly |
f581ad1383c6
*printf: Work around rounding bug on Mac OS X.
Bruno Haible <bruno@clisp.org>
parents:
16935
diff
changeset
|
56 on some platforms: |
f581ad1383c6
*printf: Work around rounding bug on Mac OS X.
Bruno Haible <bruno@clisp.org>
parents:
16935
diff
changeset
|
57 Mac OS X 10.12, FreeBSD 6.1. |
f581ad1383c6
*printf: Work around rounding bug on Mac OS X.
Bruno Haible <bruno@clisp.org>
parents:
16935
diff
changeset
|
58 @item |
10205
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
59 This function behaves incorrectly when a @samp{-} flag and a negative width |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
60 are specified together, on some platforms: |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
61 HP-UX 10.20. |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
62 @item |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
63 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
64 with zeroes) on some platforms: |
19241
fc8be28143d4
all: Write "Solaris 11.0" instead of "Solaris 11 2011-11".
Bruno Haible <bruno@clisp.org>
parents:
18977
diff
changeset
|
65 Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, IRIX 6.5, OSF/1 5.1, Solaris 11.0, Cygwin 1.5.x, mingw, MSVC 14. |
10205
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
66 @item |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
67 This function does not support precisions larger than 512 or 1024 in integer, |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
68 floating-point and pointer output on some platforms: |
18977 | 69 Solaris 10/x86, mingw, MSVC 14, BeOS. |
10205
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
70 @item |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
71 This function can crash in out-of-memory conditions on some platforms: |
16935
498a2211d839
Write "Mac OS X" instead of "MacOS X".
Bruno Haible <bruno@clisp.org>
parents:
16254
diff
changeset
|
72 Mac OS X 10.3, FreeBSD 6.0, NetBSD 5.0. |
10205
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
73 @item |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
74 This function does not fully support the @samp{n} directive on some platforms: |
18977 | 75 HP-UX 11, mingw, MSVC 14. |
10205
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
76 @end itemize |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
77 |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
78 Portability problems not fixed by Gnulib: |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
79 @itemize |
3384541effec
Add obstack-printf and obstack-printf-posix modules.
Eric Blake <ebb9@byu.net>
parents:
9635
diff
changeset
|
80 @end itemize |