fbuf: New data structure for buffered file I/O.
[pspp] / src / data / file-name.h
index b4eee83e76aa1d596620f92f2f69d643ae115404..23c2e9da97f3057cc428b2f0c7950d4ad43ce0c8 100644 (file)
@@ -29,8 +29,10 @@ char *fn_extension (const struct file_handle *);
 bool fn_exists (const struct file_handle *);
 
 
-FILE *fn_open (const struct file_handle *fn, const char *mode);
-int fn_close (const struct file_handle *fn, FILE *file);
+FILE *fn_fopen (const struct file_handle *, const char *mode);
+int fn_close (const struct file_handle *, FILE *file);
+
+int fn_open (const struct file_handle *, int flags, mode_t mode);
 
 const char * default_output_path (void);