Files
config-parser/file.h
jonathan santis 631fc8322a add file operation
2025-05-13 13:49:10 +02:00

9 lines
208 B
C

#define NO_ERROR 0
//ERRORS
#define FILE_ERROR_OPEN 11
#define FILE_ERROR_STRCONTENT_TO_SMALL 12
#define FILE_ERROR_READ_MISMATCH 13
int getFile(char *fname, char **strContent,int cbSize,long *neededSize);