Guardian Native C Library Calls Reference Manual (G06.28+, H06.05+)

Guardian Native C Library Calls (f) ftello64(3)
RETURN VALUES
Upon successful completion, the ftello64() function returns the offset of the current byte relative
to the beginning of the le 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 le descriptor underlying the stream parameter is not a valid le descriptor.
[EFBIG] The buffers of the stream need to be ushed, and the starting point is greater than
or equal to the le offset maximum.
[EOVERFLOW]
The resulting le offset is beyond the le offset maximum.
[ESPIPE] An illegal attempt was made to get set the le 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 les is an HP extension to the XPG4 Version 2 specication.
527192-007 Hewlett-Packard Company 2111