Docs » Autodocs » iffparse.library » WriteChunkRecords
WriteChunkRecords -- write records from a buffer to the current chunk. (V36)
error = WriteChunkRecords(iff, buf, recsize, numrec); D0 A0 A1 D0 D1 LONG WriteChunkRecords(struct IFFHandle *, APTR, LONG, LONG);
Writes record elements from the buffer into the top chunk. This function operates much like ReadChunkBytes().
iff - pointer to IFFHandle structure. buf - pointer to buffer area containing data. recsize - size of data records to write. numrec - number of data records to write.
error - (positive) number of whole records written if successful or a (negative) IFFERR_#? error code if unsuccessful.
WriteChunkBytes(), <libraries/iffparse.h>
|