New helper function, vfopenf(), inspired by the Infix project

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2023-06-11 12:16:58 +02:00
1 parent 9eb847e56c
commit 1f6ff90d9e
2 files changed
+40 -15

No files matched your search

+1
View File
@@ -79,6 +79,7 @@ char *fparseln (FILE *, size_t *, size_t *, const char[3], int);
int fexist (const char *file);
int fisdir (const char *path);
FILE *vfopenf (const char *mode, const char *fmt, va_list ap);
FILE *fopenf (const char *mode, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
int fremove (const char *fmt, ...) __attribute__ ((format (printf, 1, 2)));
FILE *tempfile (void);