YedFileMan - Load

NAME:
Load

SYNOPSIS:
UCHAR *Load(void *pvO,SCHAR *pscFile,SINT *psiSize);

DESCRIPTION:
The method loads in heap memory the content of pscFile file and returns a pointer to this memory. The size of allocated buffer is put in psiSize. pvO is the instance of the object invoking the method.

WARNING: remember to free the memory after use with the 'free' system call.

RETURN VALUE:
The method returns a pointer to heap memory with file content, or NULL, in case of an error. The size of this memory is put in the content of the pointer psiSize.
Possible errors are:

 


http://yed.sourceforge.net