summaryrefslogtreecommitdiffstats
path: root/stdlib
diff options
context:
space:
mode:
authorPierre Weis <Pierre.Weis@inria.fr>2003-02-28 19:55:12 +0000
committerPierre Weis <Pierre.Weis@inria.fr>2003-02-28 19:55:12 +0000
commite132cd1f7a07a41dc7dbddea7453a86e6ebb5ea4 (patch)
treeff14fe9857731e917a30709ff0cb7f1df2fe570a /stdlib
parent79f3791c0425bdda3f1b03266d642679589043f7 (diff)
Documenting format %$.
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5411 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/format.mli1
-rw-r--r--stdlib/printf.mli1
2 files changed, 2 insertions, 0 deletions
diff --git a/stdlib/format.mli b/stdlib/format.mli
index 36a9b12d6..cd5c0314c 100644
--- a/stdlib/format.mli
+++ b/stdlib/format.mli
@@ -586,6 +586,7 @@ val fprintf : formatter -> ('a, formatter, unit, unit) format -> 'a;;
the [<] character, followed by an integer [nspaces] value,
then an integer offset, and a closing [>] character.
- [@?]: flush the pretty printer as with [print_flush ()].
+ This is equivalent to the conversion [%$].
- [@.]: flush the pretty printer and output a new line, as with
[print_newline ()].
- [@<n>]: print the following item as if it were of length [n].
diff --git a/stdlib/printf.mli b/stdlib/printf.mli
index 1a19081fd..a6551907a 100644
--- a/stdlib/printf.mli
+++ b/stdlib/printf.mli
@@ -63,6 +63,7 @@ val fprintf : out_channel -> ('a, out_channel, unit, unit) format -> 'a
in the output of [fprintf] at the current point.
- [t]: same as [%a], but takes only one argument (with type
[out_channel -> unit]) and apply it to [outchan].
+ - [$]: take no argument and flush the output.
- [%]: take no argument and output one [%] character.
The optional flags include: