File: tmpfile.mli

package info (click to toggle)
camlimages 2.20-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 4,020 kB
  • ctags: 2,432
  • sloc: ml: 12,244; ansic: 2,402; makefile: 1,135; sh: 193
file content (25 lines) | stat: -rw-r--r-- 1,401 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
(***********************************************************************)
(*                                                                     *)
(*                           Objective Caml                            *)
(*                                                                     *)
(*            Franois Pessaux, projet Cristal, INRIA Rocquencourt     *)
(*            Pierre Weis, projet Cristal, INRIA Rocquencourt          *)
(*            Jun Furuse, projet Cristal, INRIA Rocquencourt           *)
(*                                                                     *)
(*  Copyright 1999 - 2003                                              *)
(*  Institut National de Recherche en Informatique et en Automatique.  *)
(*  Distributed only by permission.                                    *)
(*                                                                     *)
(***********************************************************************)

val tmp_dir : string ref
(* swap file directory: the default is /tmp, but note that it is often
   the case that /tmp is not large enough for some huge images!! *)

val new_tmp_file_name : string -> string
(* [new_swap_file_name prefix] returns a new swap file name with
   prefix [prefix]. *)

val remove_tmp_file : string -> unit
(* [remove_tmp_file fname] removes [fname] if it can; nothing
   happens if [fname] cannot be removed. *)