]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/basic/fileio.h
Add open_memstream_unlocked() wrapper
[thirdparty/systemd.git] / src / basic / fileio.h
index 7903b57c80eb7a4c022be77a333c78ceb1ee4d39..fe5c8277de62bdadce9c5cf5af2132562df84df7 100644 (file)
@@ -35,6 +35,7 @@ typedef enum {
 
 int fopen_unlocked(const char *path, const char *options, FILE **ret);
 int fdopen_unlocked(int fd, const char *options, FILE **ret);
+FILE* open_memstream_unlocked(char **ptr, size_t *sizeloc);
 
 int write_string_stream_ts(FILE *f, const char *line, WriteStringFileFlags flags, struct timespec *ts);
 static inline int write_string_stream(FILE *f, const char *line, WriteStringFileFlags flags) {