a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Libraries:
 iffparse.library
  AllocIFF
  AllocLocalItem
  CloseClipboard
  CloseIFF
  CollectionChunk
  CollectionChunks
  CurrentChunk
  EntryHandler
  ExitHandler
  FindCollection
  FindLocalItem
  FindProp
  FindPropContext
  FreeIFF
  FreeLocalItem
  GoodID
  GoodType
  IDtoStr
  InitIFF
  InitIFFasClip
  InitIFFasDOS
  LocalItemData
  OpenClipboard
  OpenIFF
  ParentChunk
  ParseIFF
  PopChunk
  PropChunk
  PropChunks
  PushChunk
  ReadChunkBytes
  ReadChunkRecords
  SetLocalItemPurge
  StopChunk
  StopChunks
  StopOnExit
  StoreItemInContext
  StoreLocalItem
  WriteChunkBytes
  WriteChunkRecords
Include
GuruMeditation
Docs » Autodocs » iffparse.library » WriteChunkRecords

NAME

	WriteChunkRecords -- write records from a buffer to the current
chunk. (V36)

SYNOPSIS

	error = WriteChunkRecords(iff, buf, recsize, numrec);
D0 A0 A1 D0 D1
LONG WriteChunkRecords(struct IFFHandle *, APTR, LONG, LONG);

FUNCTION

	Writes record elements from the buffer into the top chunk. This
function operates much like ReadChunkBytes().

INPUTS

	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.

RESULT

	error - (positive) number of whole records written if successful
or a (negative) IFFERR_#? error code if unsuccessful.

SEE ALSO

WriteChunkBytes(), <libraries/iffparse.h>

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Andromeda

AOA
CSL
AFL
DJ

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se