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

Returned value

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

Explanation

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 any of the functions niWriteNb(), niWriteNb2(), niSaveAsNb(), niSaveAsNb2() are used.

See also

niWriteNb, niWriteNb2, niSaveAsNb, niSaveAsNb2

Back to NIFFAPI Index

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