diff options
Diffstat (limited to 'stdlib/sys.mli')
-rw-r--r-- | stdlib/sys.mli | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/stdlib/sys.mli b/stdlib/sys.mli index b6332a14a..99c5e9375 100644 --- a/stdlib/sys.mli +++ b/stdlib/sys.mli @@ -1,15 +1,9 @@ (* System interface *) -type open_flag = - Open_rdonly | Open_wronly | Open_rdwr - | Open_append | Open_creat | Open_trunc | Open_excl - | Open_binary | Open_text - val argv: string array +val file_exists: string -> bool = "sys_file_exists" val remove: string -> unit = "sys_remove" val getenv: string -> string = "sys_getenv" -val open_desc: string -> open_flag list -> int -> int = "sys_open" -val close_desc: int -> unit = "sys_close" val command: string -> int = "sys_system_command" val chdir: string -> unit = "sys_chdir" |