MGL_fopen
Opens a stream.
Declaration
FILE * MGLAPI MGL_fopen(
const char *filename,
const char *mode)
Prototype In
mgraph.h
Parameters
filename |
Filename |
mode |
Mode to open file in. |
Return Value
Pointer to newly opened stream, or NULL in the event of an error.
Description
This function is identical to the C library fopen function, but goes via the MGL's internal file handling function pointers, which by default simply points to the standard C library functions. These functions are intended to allow the application programmer to override all the MGL file I/O functions with MGL_setFileIO, for custom I/O handling.
See Also
MGL_fclose, MGL_fseek, MGL_ftell, MGL_fread, MGL_fwrite, MGL_setFileIO
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com