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); Feature Test Macro Requirements for glibc (see feature_test_macros(7)): fseeko(), ftello(): _FILE_OFFSET_BITS == 64 || _POSIX_C_SOURCE >= 200112L (defining the obsolete _LARGEFILE_SOURCE macro also works)
DESCRIPTION
The fseeko() and ftello() functions are identical to fseek(3) and ftell(3) (see fseek(3)), respectively, except that the offset argument of fseeko() and the return value of ftello() is of type off_t instead of long. On some architectures, both off_t and long are 32-bit types, but defining _FILE_OFFSET_BITS with the value 64 (before including any header files) will turn off_t into a 64-bit type.
RETURN VALUE
On successful completion, fseeko() returns 0, while ftello() returns the current offset. Otherwise, -1 is returned and errno is set to indicate the error.
ERRORS
See the ERRORS in fseek(3).
VERSIONS
These functions are available under glibc since version 2.1.
ATTRIBUTES
For an explanation of the terms used in this section, see attributes(7). Interface Attribute Value fseeko(), ftello() Thread safety MT-Safe
CONFORMING TO
POSIX.1-2001, POSIX.1-2008, SUSv2.
SEE ALSO
fseek(3)
COLOPHON
This page is part of release 4.09 of the Linux man-pages project. A description of the project, information about reporting bugs, and the latest version of this page, can be found at https://www.kernel.org/doc/man-pages/. 2016-03-15 FSEEKO(3)
More Linux Commands
manpages/jhead.1.html
jhead(1) Digicam JPEG Exif header manipulation tool.........
jhead is used to display and manipulate data contained in the Exif header of JPEG images from digital cameras. By default, jhead displays the more useful camera
manpages/lav2wav.1.html
lav2wav(1) - Extract the audio out of MJPEG container files
lav2wav can be used to extract the audio to stdout. This output goes to stdout and can be saved as a wav file or piped to another sound processing tool that is
manpages/XRRGetScreenInfo.3.html
XRRGetScreenInfo(3) - X Resize, Rotate and Reflection extens
Xrandr is a simple library designed to interface the X Resize and Rotate Extension. This allows clients to change the size and rotation of the root window of a
manpages/key_name.3x.lc.html
key_name.3x(lc) miscellaneous curses utility routines.......
The unctrl routine returns a character string which is a printable representation of the character c, ignoring attributes. Control characters are displayed in t
manpages/asinhf.3.html
asinhf(3) - inverse hyperbolic sine function (Man Page).....
The asinh() function calculates the inverse hyperbolic sine of x; that is the value whose hyperbolic sine is x. RETURN VALUE On success, these functions return
manpages/Tcl_ErrnoMsg.3.html
Tcl_ErrnoMsg(3) - manipulate errno to store and retrieve err
Tcl_SetErrno and Tcl_GetErrno provide portable access to the errno variable, which is used to record a POSIX error code after system calls and other operations
manpages/tailf.1.html
tailf(1) - follow the growth of a log file - Linux man page
tailf will print out the last 10 lines of the given file and then wait for this file to grow. It is similar to tail -f but does not access the file when it is n
manpages/Math::Trig.3pm.html
Math::Trig(3pm) - trigonometric functions - Linux man page
Math::Trig defines many trigonometric functions not defined by the core Perl which defines only the sin() and cos(). The constant pi is also defined as are a fe
manpages/atof.3.html
atof(3) - convert a string to a double - Linux manual page
The atof() function converts the initial portion of the string pointed to by nptr to double. The behavior is the same as strtod(nptr, NULL); except that atof()
manpages/xvminitoppm.1.html
xvminitoppm(1) - convert an XV 'thumbnail' picture to PPM...
This program is part of Netpbm(1) xvminittoppm reads an XV thumbnail picture (a miniature picture generated by the VisualSchnauzer browser) as input and produce
manpages/rpc.sm-notify.8.html
rpc.sm-notify(8) - send reboot notifications to NFS peers...
rpc.sm-notify.8 - File locks are not part of persistent file system state. Lock state is thus lost when a host reboots. Network file systems must also detect wh
manpages/acl_set_permset.3.html
acl_set_permset(3) - set the permission set in an ACL entry
The acl_set_permset() function sets the permission set of the ACL entry indicated by the argument entry_d to the permissions contained in the argument permset_d
