Trattazione di linkat e openat con O_TMPFILE, con programmi di test ed
[gapil.git] / sources / Gapil.h
index 70c796df0be46cd6e1ac99792bb0bd81e03dc5d9..c5a702f95f1b005b7890d714d5d11d0f9508d75d 100644 (file)
@@ -112,6 +112,9 @@ size_t full_fwrite(FILE *file, void *buf, size_t count);
  */
 /* Function dir_scan: simple scan for a directory. See dir_scan.c */
 int dir_scan(char * dirname, int(*compute)(struct dirent *));
+/* Function InitFile: secure create of a file with initial content */
+ssize_t InitFile(int dirfd, const char *file, const char *buf, size_t count);
+/* Function full_fread: to read from a standard file. See full_fread.c */
 /*
  * Shared memory handling functions. See SharedMem.c
  */