NAME
    WriteChunkRecords -- Write records from a buffer to the current
                         chunk.
SYNOPSIS
    error = WriteChunkRecords (iff, buf, recsize, numrec)
     d0                        a0   a1     d0      d1
    LONG             error;
    struct iffhandle *iff;
    UBYTE            *buf;
    LONG             recsize, numrec;
FUNCTION
    Writes record elements from the buffer into the top chunk.  This
    function operates much like readchunkbytes().
INPUTS
    iff     - pointer to iffhandle struct.
    buf     - pointer to buffer area containing data.
    recsize - size of data records to write.
    numrec  - number of data records to write.
RESULT
    error   - (positive) number of whole records written if successful
              or a (negative) IFFERR_#? error code if not successful.
EXAMPLE
NOTES
BUGS
SEE ALSO
    writechunkbytes()