RenderWare V2.1

Previous Page Index Next Page

RwBool

RwSeekStream(RwStream *stream, RwInt32 offset);

Description

Seek to a specified stream location.

Arguments

stream A currently opened RwReadStream stream.

offset The offset to the new position from the current stream position.

Return Value

TRUE on success, FALSE otherwise.

Comments

This function is analogous to the standard C fseek function for file streams with a seek type of SEEK_CUR.

See Also

RwOpenStream()

RwCloseStream()

RwReadStream()

RwReadStreamInt()

RwReadStreamReal()

RwWriteStream()

RwWriteStreamInt()

RwWriteStreamReal()