Wiki Page Content

Revision 4 as of 2010-06-17 04:43:31

Clear message

DRAFT

SDL_RWFromFP

Use this function to create SDL_RWops structures from a standard I/O file pointer.

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.


CategoryAPI, CategoryIO

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit