summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2011-05-25 00:54:32 +0200
committerLennart Poettering <lennart@poettering.net>2011-06-21 19:29:44 +0200
commit5a3ab509b56bd79bf2be53cc259ce45c0be269e6 (patch)
treea10d9ac0e147efae9b3093eb51a8a2048e692e72 /src/util.h
parent5eda94dda25bccda928c4b33c790dbe748573a22 (diff)
util: add fopen_temporary()
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 6076e69dbb..15dfe17d3b 100644
--- a/src/util.h
+++ b/src/util.h
@@ -330,6 +330,7 @@ int default_signals(int sig, ...);
int sigaction_many(const struct sigaction *sa, ...);
int close_pipe(int p[]);
+int fopen_temporary(const char *path, FILE **_f, char **_temp_path);
ssize_t loop_read(int fd, void *buf, size_t nbytes, bool do_poll);
ssize_t loop_write(int fd, const void *buf, size_t nbytes, bool do_poll);