diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2002-02-11 13:51:40 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2002-02-11 13:51:40 +0000 |
commit | 429efbf7c2416a997d2ee5ca2d790cfdc944358b (patch) | |
tree | 13ea7ba24ad95fef48af5f6bffdee0c2f861c99d /stdlib/sys.mli | |
parent | 7f765d521eb9014f42fdf0a83d3c31be897d8dd6 (diff) |
Ajout Sys.executable_name, laisser Sys.argv.(0) inchange (PR#817)
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@4375 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/sys.mli')
-rw-r--r-- | stdlib/sys.mli | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/stdlib/sys.mli b/stdlib/sys.mli index 5333628e2..f733c3ef1 100644 --- a/stdlib/sys.mli +++ b/stdlib/sys.mli @@ -21,6 +21,9 @@ val argv : string array The following elements are the command-line arguments given to the program. *) +val executable_name : string +(** The name of the file containing the executable currently running. *) + external file_exists : string -> bool = "sys_file_exists" (** Test if a file with the given name exists. *) |