X-Git-Url: https://gapil.gnulinux.it/gitweb/?p=gapil.git;a=blobdiff_plain;f=sources%2FGapil.h;h=429fc6f3552f5097f998f1d72fd4299d11a03a4a;hp=c5a702f95f1b005b7890d714d5d11d0f9508d75d;hb=844ea3e96c657de0e887fd3ebce90d1dff7103ad;hpb=4be39dd3718d708ccff65b01a8f634e05b56f3c9 diff --git a/sources/Gapil.h b/sources/Gapil.h index c5a702f..429fc6f 100644 --- a/sources/Gapil.h +++ b/sources/Gapil.h @@ -113,7 +113,7 @@ 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); +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