(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/iffparse.h>

LONG WriteChunkRecords (iff , buf , bytesPerRecord , numRecords)

LOCATION
In IFFParseBase at offset 13

SYNOPSIS
struct IFFHandle * iff
APTR buf
LONG bytesPerRecord
LONG numRecords

FUNCTION
Write numRecods records of bytesPerRecord bytes to the current chunk. Attempts to write past the end of the chunk will be truncated.

INPUTS
iff
pointer to IFFHandle struct.
buf
pointer to a buffer containig the data to be written.
bytesPerRecord
number of bytes per record.
numRecords
number of records to write.

RESULT
actual - (positive) the actual number of whole records written. (negative) IFFERR_#? error code if not succesfull.

EXAMPLE

SEE ALSO
WriteChunkBytes()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
03.02.1997 digulla
Iffparse.library as supplied by Nils H. Lorentzen