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

Returned value

TRUE(=1) if the data is written without error. FALSE(=0) if an error occurs.

Explanation

  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

Back to NIFFAPI Index

Copyright 1998-1999 NINTENDO Co., Ltd.
1998-1999 MONEGI CORPORATION All rights reserved.