Mercurial > hg > octave-nkf > gnulib-hg
annotate doc/posix-functions/vfprintf.texi @ 17608:63e4133ca82e
relocatable-maint.texi: escape braces
The change causes makeinfo 5.2 to fail:
env LANG= LC_MESSAGES= LC_ALL= LANGUAGE= makeinfo --no-split
--reference-limit=2000 gnulib.texi
./relocatable-maint.texi:153: misplaced {
...
Escaping the braces as per the attached patch seems to fix this.
author | Daniel Albers <daniel@lbe.rs> |
---|---|
date | Thu, 16 Jan 2014 12:56:52 +0100 |
parents | 498a2211d839 |
children | b941bb9e9efb |
rev | line source |
---|---|
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
1 @node vfprintf |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
2 @section @code{vfprintf} |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
3 @findex vfprintf |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
4 |
13549
bb0ceefd22dc
avoid some overlong lines from posix urls, etc.
Karl Berry <karl@freefriends.org>
parents:
11234
diff
changeset
|
5 POSIX specification:@* @url{http://www.opengroup.org/onlinepubs/9699919799/functions/vfprintf.html} |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
6 |
14578
4e83bc0de9e4
Support non-blocking pipe I/O in write() on native Windows.
Bruno Haible <bruno@clisp.org>
parents:
14005
diff
changeset
|
7 Gnulib module: vfprintf-posix or stdio, nonblocking, sigpipe |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
8 |
10487
953f72c1ffcc
Support SIGPIPE in stdio functions for writing.
Bruno Haible <bruno@clisp.org>
parents:
9674
diff
changeset
|
9 Portability problems fixed by Gnulib module @code{vfprintf-posix}: |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
10 @itemize |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
11 @item |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
12 This function does not support size specifiers as in C99 (@code{hh}, @code{ll}, |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
13 @code{j}, @code{t}, @code{z}) on some platforms: |
15591
2171e9d2231b
*printf: Add support for MSVC compiler.
Bruno Haible <bruno@clisp.org>
parents:
15296
diff
changeset
|
14 AIX 5.1, HP-UX 11.23, IRIX 6.5, OSF/1 5.1, Solaris 9, Cygwin 1.5.24, mingw, MSVC 9, BeOS. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
15 @item |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
16 printf of @samp{long double} numbers is unsupported on some platforms: |
15591
2171e9d2231b
*printf: Add support for MSVC compiler.
Bruno Haible <bruno@clisp.org>
parents:
15296
diff
changeset
|
17 mingw, MSVC 9, BeOS. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
18 @item |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
19 printf @code{"%f"}, @code{"%e"}, @code{"%g"} of Infinity and NaN yields an |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
20 incorrect result on some platforms: |
16254
da62858ef2f6
doc: Update for Solaris 11 2011-11.
Bruno Haible <bruno@clisp.org>
parents:
16232
diff
changeset
|
21 AIX 5.2, OSF/1 5.1, Solaris 11 2011-11, mingw, MSVC 9. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
22 @item |
16799
49a21ae0897b
doc: Mention reason for replacement on glibc/Linux systems.
Bruno Haible <bruno@clisp.org>
parents:
16254
diff
changeset
|
23 printf of @samp{long double} numbers outside the IEEE 754 range produces |
49a21ae0897b
doc: Mention reason for replacement on glibc/Linux systems.
Bruno Haible <bruno@clisp.org>
parents:
16254
diff
changeset
|
24 no meaningful results on some platforms: |
49a21ae0897b
doc: Mention reason for replacement on glibc/Linux systems.
Bruno Haible <bruno@clisp.org>
parents:
16254
diff
changeset
|
25 glibc and others, on x86, x86_64, IA-64 CPUs. |
49a21ae0897b
doc: Mention reason for replacement on glibc/Linux systems.
Bruno Haible <bruno@clisp.org>
parents:
16254
diff
changeset
|
26 @item |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
27 This function does not support the @samp{a} and @samp{A} directives on some |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
28 platforms: |
16935
498a2211d839
Write "Mac OS X" instead of "MacOS X".
Bruno Haible <bruno@clisp.org>
parents:
16799
diff
changeset
|
29 glibc-2.3.6, Mac OS X 10.5, NetBSD 5.0, OpenBSD 4.0, AIX 5.2, HP-UX 11, |
16254
da62858ef2f6
doc: Update for Solaris 11 2011-11.
Bruno Haible <bruno@clisp.org>
parents:
16232
diff
changeset
|
30 IRIX 6.5, OSF/1 5.1, Solaris 11 2011-11, Cygwin 1.5.x, mingw, MSVC 9, BeOS. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
31 @item |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
32 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:
10876
diff
changeset
|
33 NetBSD 3.0, AIX 5.1, HP-UX 11.23, IRIX 6.5, OSF/1 5.1, Solaris 9, |
15591
2171e9d2231b
*printf: Add support for MSVC compiler.
Bruno Haible <bruno@clisp.org>
parents:
15296
diff
changeset
|
34 Cygwin 1.5.x, mingw, MSVC 9, BeOS. |
2171e9d2231b
*printf: Add support for MSVC compiler.
Bruno Haible <bruno@clisp.org>
parents:
15296
diff
changeset
|
35 @item |
2171e9d2231b
*printf: Add support for MSVC compiler.
Bruno Haible <bruno@clisp.org>
parents:
15296
diff
changeset
|
36 This function does not support the @samp{n} directive on some platforms: |
2171e9d2231b
*printf: Add support for MSVC compiler.
Bruno Haible <bruno@clisp.org>
parents:
15296
diff
changeset
|
37 MSVC 9. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
38 @item |
11219
aaeb2f86d096
Fix *printf behaviour regarding the %ls directive.
Bruno Haible <bruno@clisp.org>
parents:
11048
diff
changeset
|
39 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
|
40 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
|
41 @item |
11223
41012a39667b
Work around a *printf bug with %ls on Solaris.
Bruno Haible <bruno@clisp.org>
parents:
11219
diff
changeset
|
42 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
|
43 on some platforms: |
16254
da62858ef2f6
doc: Update for Solaris 11 2011-11.
Bruno Haible <bruno@clisp.org>
parents:
16232
diff
changeset
|
44 Solaris 11 2011-11. |
11223
41012a39667b
Work around a *printf bug with %ls on Solaris.
Bruno Haible <bruno@clisp.org>
parents:
11219
diff
changeset
|
45 @item |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
46 This function does not support format directives that access arguments in an |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
47 arbitrary order, such as @code{"%2$s"}, on some platforms: |
15591
2171e9d2231b
*printf: Add support for MSVC compiler.
Bruno Haible <bruno@clisp.org>
parents:
15296
diff
changeset
|
48 NetBSD 3.0, mingw, MSVC 9, BeOS. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
49 @item |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
50 This function doesn't support the @code{'} flag on some platforms: |
15591
2171e9d2231b
*printf: Add support for MSVC compiler.
Bruno Haible <bruno@clisp.org>
parents:
15296
diff
changeset
|
51 NetBSD 3.0, Cygwin 1.5.24, mingw, MSVC 9. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
52 @item |
9674
b69f1141e94f
Fix *printf behaviour regarding the left-adjust flag on HP-UX 10.20.
Bruno Haible <bruno@clisp.org>
parents:
9638
diff
changeset
|
53 This function behaves incorrectly when a @samp{-} flag and a negative width |
b69f1141e94f
Fix *printf behaviour regarding the left-adjust flag on HP-UX 10.20.
Bruno Haible <bruno@clisp.org>
parents:
9638
diff
changeset
|
54 are specified together, on some platforms: |
b69f1141e94f
Fix *printf behaviour regarding the left-adjust flag on HP-UX 10.20.
Bruno Haible <bruno@clisp.org>
parents:
9638
diff
changeset
|
55 HP-UX 10.20. |
b69f1141e94f
Fix *printf behaviour regarding the left-adjust flag on HP-UX 10.20.
Bruno Haible <bruno@clisp.org>
parents:
9638
diff
changeset
|
56 @item |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
57 printf @code{"%010f"} of NaN and Infinity yields an incorrect result (padded |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
58 with zeroes) on some platforms: |
16935
498a2211d839
Write "Mac OS X" instead of "MacOS X".
Bruno Haible <bruno@clisp.org>
parents:
16799
diff
changeset
|
59 Mac OS X 10.5, FreeBSD 6.0, NetBSD 5.0, AIX 5.2, IRIX 6.5, OSF/1 5.1, Solaris 11 2011-11, Cygwin 1.5.x, mingw, MSVC 9. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
60 @item |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
61 This function does not support precisions larger than 512 or 1024 in integer, |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
62 floating-point and pointer output on some platforms: |
15591
2171e9d2231b
*printf: Add support for MSVC compiler.
Bruno Haible <bruno@clisp.org>
parents:
15296
diff
changeset
|
63 AIX 7.1, Solaris 10/x86, mingw, MSVC 9, BeOS. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
64 @item |
14005
f585ecc144aa
*printf: Detect large precisions bug on Solaris 10/SPARC.
Bruno Haible <bruno@clisp.org>
parents:
14001
diff
changeset
|
65 This function mishandles large floating point precisions |
f585ecc144aa
*printf: Detect large precisions bug on Solaris 10/SPARC.
Bruno Haible <bruno@clisp.org>
parents:
14001
diff
changeset
|
66 (for example, formatting 1.0 with @samp{"%.511f"}) |
f585ecc144aa
*printf: Detect large precisions bug on Solaris 10/SPARC.
Bruno Haible <bruno@clisp.org>
parents:
14001
diff
changeset
|
67 on some platforms: |
f585ecc144aa
*printf: Detect large precisions bug on Solaris 10/SPARC.
Bruno Haible <bruno@clisp.org>
parents:
14001
diff
changeset
|
68 Solaris 10. |
f585ecc144aa
*printf: Detect large precisions bug on Solaris 10/SPARC.
Bruno Haible <bruno@clisp.org>
parents:
14001
diff
changeset
|
69 @item |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
70 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:
16799
diff
changeset
|
71 Mac OS X 10.3, FreeBSD 6.0, NetBSD 5.0. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
72 @end itemize |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
73 |
14578
4e83bc0de9e4
Support non-blocking pipe I/O in write() on native Windows.
Bruno Haible <bruno@clisp.org>
parents:
14005
diff
changeset
|
74 Portability problems fixed by Gnulib module @code{stdio} or @code{vfprintf-posix}, together with module @code{nonblocking}: |
4e83bc0de9e4
Support non-blocking pipe I/O in write() on native Windows.
Bruno Haible <bruno@clisp.org>
parents:
14005
diff
changeset
|
75 @itemize |
4e83bc0de9e4
Support non-blocking pipe I/O in write() on native Windows.
Bruno Haible <bruno@clisp.org>
parents:
14005
diff
changeset
|
76 @item |
4e83bc0de9e4
Support non-blocking pipe I/O in write() on native Windows.
Bruno Haible <bruno@clisp.org>
parents:
14005
diff
changeset
|
77 When writing to a non-blocking pipe whose buffer is full, this function fails |
4e83bc0de9e4
Support non-blocking pipe I/O in write() on native Windows.
Bruno Haible <bruno@clisp.org>
parents:
14005
diff
changeset
|
78 with @code{errno} being set to @code{ENOSPC} instead of @code{EAGAIN} on some |
4e83bc0de9e4
Support non-blocking pipe I/O in write() on native Windows.
Bruno Haible <bruno@clisp.org>
parents:
14005
diff
changeset
|
79 platforms: |
15591
2171e9d2231b
*printf: Add support for MSVC compiler.
Bruno Haible <bruno@clisp.org>
parents:
15296
diff
changeset
|
80 mingw, MSVC 9. |
14578
4e83bc0de9e4
Support non-blocking pipe I/O in write() on native Windows.
Bruno Haible <bruno@clisp.org>
parents:
14005
diff
changeset
|
81 @end itemize |
4e83bc0de9e4
Support non-blocking pipe I/O in write() on native Windows.
Bruno Haible <bruno@clisp.org>
parents:
14005
diff
changeset
|
82 |
10487
953f72c1ffcc
Support SIGPIPE in stdio functions for writing.
Bruno Haible <bruno@clisp.org>
parents:
9674
diff
changeset
|
83 Portability problems fixed by Gnulib module @code{stdio} or @code{vfprintf-posix}, together with module @code{sigpipe}: |
953f72c1ffcc
Support SIGPIPE in stdio functions for writing.
Bruno Haible <bruno@clisp.org>
parents:
9674
diff
changeset
|
84 @itemize |
953f72c1ffcc
Support SIGPIPE in stdio functions for writing.
Bruno Haible <bruno@clisp.org>
parents:
9674
diff
changeset
|
85 @item |
953f72c1ffcc
Support SIGPIPE in stdio functions for writing.
Bruno Haible <bruno@clisp.org>
parents:
9674
diff
changeset
|
86 When writing to a pipe with no readers, this function fails, instead of |
953f72c1ffcc
Support SIGPIPE in stdio functions for writing.
Bruno Haible <bruno@clisp.org>
parents:
9674
diff
changeset
|
87 obeying the current @code{SIGPIPE} handler, on some platforms: |
15591
2171e9d2231b
*printf: Add support for MSVC compiler.
Bruno Haible <bruno@clisp.org>
parents:
15296
diff
changeset
|
88 mingw, MSVC 9. |
10487
953f72c1ffcc
Support SIGPIPE in stdio functions for writing.
Bruno Haible <bruno@clisp.org>
parents:
9674
diff
changeset
|
89 @end itemize |
953f72c1ffcc
Support SIGPIPE in stdio functions for writing.
Bruno Haible <bruno@clisp.org>
parents:
9674
diff
changeset
|
90 |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
91 Portability problems not fixed by Gnulib: |
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
92 @itemize |
14823
3fe3b9fc9c12
docs: document recently fixed glibc printf bug
Eric Blake <eblake@redhat.com>
parents:
14578
diff
changeset
|
93 @item |
16232 | 94 When formatting an integer with grouping flag, this function inserts thousands |
95 separators even in the "C" locale on some platforms: | |
96 NetBSD 5.1. | |
97 @item | |
14823
3fe3b9fc9c12
docs: document recently fixed glibc printf bug
Eric Blake <eblake@redhat.com>
parents:
14578
diff
changeset
|
98 Attempting to write to a read-only stream fails with @code{EOF} but |
3fe3b9fc9c12
docs: document recently fixed glibc printf bug
Eric Blake <eblake@redhat.com>
parents:
14578
diff
changeset
|
99 does not set the error flag for @code{ferror} on some platforms: |
14888
805e07cd88c7
test-perror: relax test to ignore cygwin bug
Eric Blake <eblake@redhat.com>
parents:
14823
diff
changeset
|
100 glibc 2.13, cygwin 1.7.9. |
9638
070329237839
Rename two directories: headers -> posix-headers, functions -> posix-functions.
Bruno Haible <bruno@clisp.org>
parents:
diff
changeset
|
101 @end itemize |