niOpenNt

Reads a NIFF text file

Syntax

#include  "niffapi.h"

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

Arguments

filename   The name of the NIFF text file to read
nis   Pointer to the Nis structure where the data to be read is held. nis must have been already initialized with the niNewNis()function.

Return value

TRUE(=1) if the file is read without error.

FALSE(=0) if an error occurs.

Description

Reads a NIFF text file and stores it in the Nis structure. A NIFF text file is a file storing NIFF data expressed in text format. NIFF text format can be output with the niOutputNt() function.

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

See Also

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