niNtWriteOpen

Opens a NIFF text file to write to it

Syntax

    #include  "niffapi.h"
    FILE *niNtWriteOpen(char *filename);

Arguments

  filename The name of the NIFF text file to write to

Return value

If there is no error, the file pointer is returned. If an error occurs, 0 is returned.

Description

Opens a NIFF text file so the file can be written to. A message is output if there is an error.

Notes

This function does not need to be used if niOutputNt() or niSaveAsNt() is used.

See Also

niOutputNt
niSaveAsNt