aboutsummaryrefslogtreecommitdiffstats
path: root/driver/Driveraux.mli
diff options
context:
space:
mode:
Diffstat (limited to 'driver/Driveraux.mli')
-rw-r--r--driver/Driveraux.mli5
1 files changed, 5 insertions, 0 deletions
diff --git a/driver/Driveraux.mli b/driver/Driveraux.mli
index 274ecedd..51333b2a 100644
--- a/driver/Driveraux.mli
+++ b/driver/Driveraux.mli
@@ -22,6 +22,11 @@ val command_error: string -> int -> unit
val safe_remove: string -> unit
(** Remove the given file if it exists *)
+val tmp_file: string -> string
+ (** Create a temporary file with the given suffix.
+ The file will be removed when the program exits.
+ Return the absolute path to the file. *)
+
val output_filename: ?final:bool -> string -> string -> string -> string
(** Determine names for output files. We use -o option if specified
and if this is the final destination file (not a dump file).