X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Ffileio.h;h=5ae51c1e28a9daa56d4fee59f25a11bf2f06922d;hb=95eb099fa8a90212ed2aef82bad360f147bc19c2;hp=5122a9a4de9387084e8e37bde0d61078400a468c;hpb=717603e391b52983ca1fd218e7333a1b9dfc5c05;p=elogind.git diff --git a/src/shared/fileio.h b/src/shared/fileio.h index 5122a9a4d..5ae51c1e2 100644 --- a/src/shared/fileio.h +++ b/src/shared/fileio.h @@ -27,12 +27,12 @@ int write_string_stream(FILE *f, const char *line); int write_string_file(const char *fn, const char *line); +int write_string_file_no_create(const char *fn, const char *line); int write_string_file_atomic(const char *fn, const char *line); int read_one_line_file(const char *fn, char **line); int read_full_file(const char *fn, char **contents, size_t *size); int read_full_stream(FILE *f, char **contents, size_t *size); -ssize_t sendfile_full(int out_fd, const char *fn); int parse_env_file(const char *fname, const char *separator, ...) _sentinel_; int load_env_file(FILE *f, const char *fname, const char *separator, char ***l);