L3DT documentation
Large 3D terrain generator

hfzWrite

Description

Write bytes to a HF2/HFZ file.

Function prototype

long hfzWrite(hfzFile* fs, void* pData, long len);

Arguments

Name Type Description
fs hfzFile* A handle to an open hfzFile struct (see hfzOpen).
pData void* A handle to the data to be written.
len long The number of bytes to be written.

Return value

The number of bytes written (if positive), or else an error code (if negative). Use hfzGetErrorStr to retrieve the error description.

Comments

None.

 
libhfz/functions/hfzwrite.txt · Last modified: 2017/08/31 07:00 (external edit)
 
Except where otherwise noted, content on this wiki is licensed under the following license:CC Attribution-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki