niNbReadOpen

Opens a NIFF binary file to read it

Syntax

#include  "niffapi.h"

FILE *niNbReadOpen(char *filename);

Arguments

filename
Name of the NIFF binary file to read

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 read the file. A message is output when an error occurs.

Notes

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

See also

niOpenNb

Back to NIFFAPI Index

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