summaryrefslogtreecommitdiffstats
path: root/stdlib/printf.mli
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1998-04-27 09:55:50 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1998-04-27 09:55:50 +0000
commit95933de17c122f254bd91231d04b9cab89f134c3 (patch)
treedcb89d15970690700b3c6ccf95a5c4a0f3d8b3e6 /stdlib/printf.mli
parent208be2cae2ec48293f30590ba9184f0e813402d2 (diff)
Corrections mineures sur la documentation
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1933 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/printf.mli')
-rw-r--r--stdlib/printf.mli6
1 files changed, 4 insertions, 2 deletions
diff --git a/stdlib/printf.mli b/stdlib/printf.mli
index 628529c2b..3414d2bfb 100644
--- a/stdlib/printf.mli
+++ b/stdlib/printf.mli
@@ -49,6 +49,7 @@ val fprintf: out_channel -> ('a, out_channel, 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 output one [%] character.
- Refer to the C library [printf] function for the meaning of
flags and field width specifiers.
@@ -62,5 +63,6 @@ val eprintf: ('a, out_channel, unit) format -> 'a
(* Same as [fprintf], but output on [stderr]. *)
val sprintf: ('a, unit, string) format -> 'a
- (* Same as [printf], but return the result of formatting in a
- string. *)
+ (* Same as [printf], but instead of printing on an output channel,
+ return a string containing the result of formatting
+ the arguments. *)