# 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

### Returned value

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

### Explanation

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 the niOutputNt(), niSaveAsNt() functions are used.

### See also

niOutputNt, niSaveAsNt

Back to NIFFAPI Index

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