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-0dff7051ff02master
parent
395c3f6a2a
commit
13b63946b8
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue