fseek(3F)
fseek, fseek64, ftell, ftell64 - reposition a file on a logical unit
As shipped in IRIX 6.5.5. Last changed in IRIX 6.5.5.
NAME fseek, fseek64, ftell, ftell64 - reposition a file on a logical unit SYNOPSIS integer function fseek (lunit, offset, from) integer offset, from integer function fseek64 (lunit, offset64, from) integer*8 offset64 integer function ftell (lunit) integer*8 function ftell64(lunit) IMPLEMENTATION IRIX systems DESCRIPTION lunit must refer to an open logical unit. offset is an offset in bytes relative to the position specified by from. Valid values for from are: 0 beginning of the file 1 the current position 2 the end of the file The value returned by fseek is 0 if successful. Otherwise a system error code occurs. (See perror(3F)) Ftell returns the current position of the file associated with the specified logical unit. The value is an offset, in bytes, from the beginning of the file. If the value returned is negative, it indicates an error and will be the negation of the system error code. (See perror(3F)) fseek64 and ftell64 are identical in functionality to their 32-bit counterparts except they can operate on files larger than 2 gigabytes in some file systems. FILES /usr/ucb/lib/libU77.a /usr/lib/libU77.a SEE ALSO fseek(3S), perror(3F) This man page is available only online.