My Project
 
Loading...
Searching...
No Matches
file.h File Reference

Go to the source code of this file.

Macros

#define NO_ERROR   0
 
#define FILE_ERROR_OPEN   11
 
#define FILE_ERROR_STRCONTENT_TO_SMALL   12
 
#define FILE_ERROR_READ_MISMATCH   13
 

Functions

int getFile (char *fname, char **strContent, int cbSize, long *neededSize)
 

Macro Definition Documentation

◆ FILE_ERROR_OPEN

#define FILE_ERROR_OPEN   11

Definition at line 4 of file file.h.

◆ FILE_ERROR_READ_MISMATCH

#define FILE_ERROR_READ_MISMATCH   13

Definition at line 6 of file file.h.

◆ FILE_ERROR_STRCONTENT_TO_SMALL

#define FILE_ERROR_STRCONTENT_TO_SMALL   12

Definition at line 5 of file file.h.

◆ NO_ERROR

#define NO_ERROR   0

Definition at line 1 of file file.h.

Function Documentation

◆ getFile()

int getFile ( char * fname,
char ** strContent,
int cbSize,
long * neededSize )

Definition at line 17 of file file.c.