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
master
Xavier Leroy 1998-10-20 12:50:49 +00:00
parent 395c3f6a2a
commit 13b63946b8
1 changed files with 3 additions and 0 deletions

View File

@ -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"