GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  AL_FSEEK (3)

NAME

al_fseek - Allegro 5 API

CONTENTS

Synopsis
Description
See Also

SYNOPSIS

C]
#include <allegro5/allegro.h>

bool al_fseek(ALLEGRO_FILE *f, int64_t offset, int whence) ]

DESCRIPTION

Set the current position of the given file to a position relative to that specified by [aq]whence[aq], plus [aq]offset[aq] number of bytes.

[aq]whence[aq] can be:
[bu] ALLEGRO_SEEK_SET - seek relative to beginning of file
[bu] ALLEGRO_SEEK_CUR - seek relative to current file position
[bu] ALLEGRO_SEEK_END - seek relative to end of file
Returns true on success, false on failure. errno is set to indicate the error.

After a successful seek, the end-of-file indicator is cleared and all pushback bytes are forgotten.

On some platforms this function may not support large files.

SEE ALSO

al_ftell(3), al_get_errno(3)

Search for    or go to Top of page |  Section 3 |  Main Index


Allegro reference manual AL_FSEEK (3)

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.