# niNtReadOpen

Opens a NIFF text file to read it

### Syntax

> #include "niffapi.h"

> FILE *niNtReadOpen(char *filename);

### Arguments

filename

> The name of the NIFF text file to read

### 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 read. A message is output if there is an error.

### Notes

This function does not need to be used if the niOpenNt() function is used.

### See also

niOpenNt

Back to NIFFAPI Index

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