Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
ftello64(3) OSS Library Calls Reference Manual
RETURN VALUES
Upon successful completion, the ftello64( ) function returns the offset of the current byte relative
to the beginning of the file associated with the named stream. Otherwise, a value of -1 is
returned, and errno is set to indicate the error.
ERRORS
If these conditions occurs, the ftello64( ) function sets errno to the corresponding value:
[EBADF] The file descriptor underlying the stream parameter is not a valid file descriptor.
[EFBIG] The buffers of the stream need to be flushed, and the starting point is greater than
or equal to the file offset maximum.
[EOVERFLOW]
The resulting file offset is beyond the file offset maximum.
[ESPIPE] An illegal attempt was made to get set the file position of a pipe or FIFO.
RELATED INFORMATION
Functions: fgetpos64(3), fopen64(3), fseeko64(3), fsetpos64(3), ftell(3), ftello(3), lseek64(2),
rewind(3).
STANDARDS CONFORMANCE
The support of Guardian EDIT files is an HP extension to the XPG4 Version 2 specification.
2−194 Hewlett-Packard Company 527187-017