(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/iffparse.h>

STRPTR IDtoStr (id , buf)

LOCATION
In IFFParseBase at offset 45

SYNOPSIS
LONG id
STRPTR buf

FUNCTION

INPUTS
id
pointer to an IFF chunk identfication code.
buf
buffer into which the id will be stored. Should at least be 5 bytes.

RESULT
buf - pointer to the supplied buffer.

EXAMPLE
// Print the ID of the current contextnode

UBYTE buf[5];
struct ContextNode *cn;

if (cn = CurrentChunk(iff)
    printf
    (
	"ID of current chunk: %s\n",
	IDtoStr(cn->cn_ID)
    );

SEE ALSO

NOTES
Assumes that the supplied ID is stored in local byte order.

BUGS

INTERNALS

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