Wiki Page Content

DRAFT

SDL_RWsize

Use this macro to get the size of the data stream in an SDL_RWops.

Syntax

Toggle line numbers
Sint64 SDL_RWsize(SDL_RWops* context)

Function Parameters

context

the SDL_RWops to get the size of the data stream from

Return Value

Returns the size of the data stream in the SDL_RWops on success, -1 if unknown or a negative error code on failure; call SDL_GetError() for more information.

Code Examples

Toggle line numbers
You can add your code example here

Remarks

You can add useful comments here

Version

This function is available since SDL 2.0.0.


CategoryAPI, CategoryIO

None: SDL_RWsize (last edited 2015-04-10 23:47:45 by JonathanDearborn)

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