summaryrefslogtreecommitdiffstats
path: root/stdlib/sys.mli
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/sys.mli')
-rw-r--r--stdlib/sys.mli3
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. *)