Zen API
zFile_Load
C
zStatus zFile_Load(const zChar* path, zByte** data, zUIntPtr* size);
Parameters
Parameters 
Description 
const zChar* path 
Path to the file. 
zByte** data 
Receives a pointer to the file contents. 
zUIntPtr* size 
Receives the size of the file contents. 
Description

Reads the specified file and provides the file contents in an array.

Memory allocated with this function should be freed with the zFree function.

File

zFile.h

Copyright (c) 2008-2010 by LMI Technologies Inc. All rights reserved.