chiark / gitweb /
json: fix a mem leak
[elogind.git] / src / shared / fileio-label.h
index fce4fe0d73eb12045b17310e95139cb86bae21c4..25fa351be276eb26475cb9f9ce16910f555b9195 100644 (file)
@@ -27,3 +27,5 @@
 
 int write_string_file_atomic_label(const char *fn, const char *line);
 int write_env_file_label(const char *fname, char **l);
+int fopen_temporary_label(const char *target,
+                          const char *path, FILE **f, char **temp_path);