fseeko, ftello - seek to or report file position
#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)
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.
On successful completion, fseeko() returns 0, while ftello() returns the current offset. Otherwise, -1 is returned and errno is set to indicate the error.
See the ERRORS in fseek(3).
These functions are available under glibc since version 2.1.
For an explanation of the terms used in this section, see attributes(7). Interface Attribute Value fseeko(), ftello() Thread safety MT-Safe
POSIX.1-2001, POSIX.1-2008, SUSv2.
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
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
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
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
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
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
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
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
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
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()
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
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
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