Add tempfile() - a secure tmpfile() replacement using O_TMPFILE.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2015-06-22 21:42:38 +02:00
1 parent 84c3667eba
commit c5434a4bc0
3 files changed
+67 -1

No files matched your search

+1
View File
@@ -39,6 +39,7 @@ int fexist (char *file);
int fisdir (char *file);
mode_t fmode (char *file);
FILE *tempfile (void);
ssize_t copyfile (char *src, char *dst, int len, int sym);
int movefile (char *src, char *dst);
int copy_filep (FILE *src, FILE *dst);