DRAFT |
SDL_RWFromFP
Use this function to create SDL_RWops structures from a standard I/O file pointer.
Contents
Syntax
SDL_RWops* SDL_RWFromFP(FILE* fp,
SDL_bool autoclose)
Function Parameters
fp |
a file pointer used to fill an [[SDL_RWops]] structure ??? |
autoclose |
SDL_TRUE to autoclose or SDL_FALSE to leave the structure open ??? |
Return Value
*Returns a pointer to a new RWops structure, or NULL if it fails. *
Code Examples
You can add your code example here
Remarks
This is not available under Win32, since files opened in an application on that platform cannot be used by a dynamically linked library.
Related Functions
SDL_RWFromFile ???
SDL_RWFromMem ???
