niNbWriteOpen

Opens a NIFF binary file to write to it

Syntax

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

Arguments

  filename The name of the NIFF binary file to write to

Return value

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

Description

Opens a NIFF binary file in order to write to the file. A message is output when an error occurs.

Notes

This function does not need to be used if niWriteNb(), niWriteNb2(), niSaveAsNb(), or niSaveAsNb2() is used.

### See also

niWriteNb
niWriteNb2
niSaveAsNb
niSaveAsNb2