diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1998-10-20 12:50:49 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1998-10-20 12:50:49 +0000 |
commit | 13b63946b82c734b8b2a544b0a132e480d9b5ddc (patch) | |
tree | 4b6896cfbfc33c47460a042c7c7355a92eb781f4 | |
parent | 395c3f6a2a8d36247de523290437eab8c706d205 (diff) |
Dans lockf, ajout de F_RLOCK F_TRLOCK. Exporter chroot().
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2130 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r-- | otherlibs/win32unix/unix.ml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/otherlibs/win32unix/unix.ml b/otherlibs/win32unix/unix.ml index 62b439f02..17eecb0d8 100644 --- a/otherlibs/win32unix/unix.ml +++ b/otherlibs/win32unix/unix.ml @@ -285,6 +285,7 @@ external mkdir : string -> file_perm -> unit = "unix_mkdir" external rmdir : string -> unit = "unix_rmdir" external chdir : string -> unit = "unix_chdir" external getcwd : unit -> string = "unix_getcwd" +let chroot _ = invalid_arg "Unix.chroot not implemented" type dir_entry = Dir_empty @@ -343,6 +344,8 @@ type lock_command = | F_LOCK | F_TLOCK | F_TEST + | F_RLOCK + | F_TRLOCK let lockf fd cmd exten = invalid_arg "Unix.lockf not implemented" let kill pid signo = invalid_arg "Unix.kill not implemented" |