projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ancora revisione segnali
[gapil.git]
/
sources
/
Gapil.h
diff --git
a/sources/Gapil.h
b/sources/Gapil.h
index 70c796df0be46cd6e1ac99792bb0bd81e03dc5d9..429fc6f3552f5097f998f1d72fd4299d11a03a4a 100644
(file)
--- a/
sources/Gapil.h
+++ b/
sources/Gapil.h
@@
-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 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 size);
+/* Function full_fread: to read from a standard file. See full_fread.c */
/*
* Shared memory handling functions. See SharedMem.c
*/
/*
* Shared memory handling functions. See SharedMem.c
*/