GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


Manpage of FSEEKO

FSEEKO

Index
 

NAME

fseeko, ftello - seek to or report file position  

SYNOPSIS

#include <stdio.h>

int fseeko(FILE *stream, off_t offset, int whence);

off_t ftello(FILE *stream);
.fi
 

DESCRIPTION

The fBfseeko()fP and fBftello()fP functions are identical to fBfseek()fP and fBftell()fP (see fseek(3)), respectively, except that the fIoffsetfP argument of fBfseeko()fP and the return value of fBftello()fP is of type fBoff_tfP instead of fBlongfP.

On many architectures both fBoff_tfP and fBlongfP are 32-bit types, but compilation with

#define _FILE_OFFSET_BITS 64
will turn fBoff_tfP into a 64-bit type.  

NOTES

These functions are found on SysV-like systems. They are not present in libc4, libc5, glibc 2.0 but available since glibc 2.1.  

CONFORMING TO

The fseeko and ftello functions conform to SUSv2.  

SEE ALSO

fseek(3)


 

Index

NAME
SYNOPSIS
DESCRIPTION
NOTES
CONFORMING TO
SEE ALSO