tmpfile-util: teach link_tmpfile() to optionally replace files
This commit is contained in:
@@ -25,8 +25,8 @@ int open_tmpfile_unlinkable(const char *directory, int flags);
|
||||
int open_tmpfile_linkable(const char *target, int flags, char **ret_path);
|
||||
int fopen_tmpfile_linkable(const char *target, int flags, char **ret_path, FILE **ret_file);
|
||||
|
||||
int link_tmpfile(int fd, const char *path, const char *target);
|
||||
int flink_tmpfile(FILE *f, const char *path, const char *target);
|
||||
int link_tmpfile(int fd, const char *path, const char *target, bool replace);
|
||||
int flink_tmpfile(FILE *f, const char *path, const char *target, bool replace);
|
||||
|
||||
int mkdtemp_malloc(const char *template, char **ret);
|
||||
int mkdtemp_open(const char *template, int flags, char **ret);
|
||||
|
||||
Reference in New Issue
Block a user