Document behaviour of unlink on directories.

master
Sébastien Briais 2016-11-10 09:57:32 +01:00
parent ef587451b3
commit d78607e13c
1 changed files with 7 additions and 1 deletions

View File

@ -464,7 +464,13 @@ module LargeFile :
val unlink : string -> unit
(** Removes the named file. *)
(** Removes the named file.
If the named file is a directory, raises:
* [EPERM] on POSIX compliant system, or
* [EISDIR] on Linux >= 2.1.132, or
* [EACCESS] on Windows.
*)
val rename : string -> string -> unit
(** [rename old new] changes the name of a file from [old] to [new]. *)