summaryrefslogtreecommitdiff
path: root/stdlib/filename.mli
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>1999-11-29 19:04:04 +0000
committerDamien Doligez <damien.doligez-inria.fr>1999-11-29 19:04:04 +0000
commit532cc5ee4aced2927229695f71bde7ee2d0b4292 (patch)
treefde2f224ae95216e96b025b31541be7a5006e4aa /stdlib/filename.mli
parent21b2a58674ec25bbe67a0b5203ed5605afc2acdd (diff)
downloadocaml-532cc5ee4aced2927229695f71bde7ee2d0b4292.tar.gz
ajout Filename.quote
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2625 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/filename.mli')
-rw-r--r--stdlib/filename.mli4
1 files changed, 4 insertions, 0 deletions
diff --git a/stdlib/filename.mli b/stdlib/filename.mli
index f6b0b1d03c..cf9c931e5e 100644
--- a/stdlib/filename.mli
+++ b/stdlib/filename.mli
@@ -62,3 +62,7 @@ val temp_file: string -> string -> string
Under MacOS, the name of the temporary directory is given
by the environment variable [TempFolder]; if not set,
temporary files are created in the current directory. *)
+val quote: string -> string;;
+ (* Return a quoted version of a file name, suitable for use as
+ one argument in a shell command line, escaping any shell
+ meta-characters. *)