Module UnixExtra.Extra.Templib (.ml)


module Templib: sig .. end
Support for this section.

val temp_name : dir:bool ->
perm:Unix.file_perm ->
parent:string -> prefix:string -> suffix:string -> unit -> string
General function for creating temporary files or directories in a parent directory with some permissions and with a prefix and suffix for the name. The function returns the name of the created file or directory.