]> git.scottworley.com Git - overonion/blob - temp_file.h
set -e doesn't catch failures inside <()
[overonion] / temp_file.h
1 #ifndef _OVERONION_TEMP_FILE_H
2 #define _OVERONION_TEMP_FILE_H
3
4 #include <stdio.h>
5
6 /* Create a temporary file in $TMPDIR, or /tmp if TMPDIR is not set.
7 * Caller must free temp_filename and fclose temp_file. Succeeds or terminates
8 * the process. */
9 void make_temporary_file(char** temp_filename, FILE** temp_file);
10
11 #endif /* _OVERONION_TEMP_FILE_H */