niSaveAsNt

Outputs NIFF text to the specified file

Syntax

#include  "niffapi.h"

int niSaveAsNt(Nis *nis, char *filename);

Arguments

nis   Pointer to the Nis structure holding the data to write
filename   Name of the file to write to

Return value

TRUE (=1) if the data is written without error.

FALSE (=0) if an error occurs.

Description

The data held in the Nis structure is output to standard output in text form. This output can be read with niOpenNt().

This function performs the processes which are appropriate for the given NIFF version.

See Also

niNewNis
niOpenNb
For the Nis structure, see n64kit/niff/niffapi/nis.h.