Open System Services Library Calls Reference Manual (G06.28+, H06.05+)

OSS Library Calls (e - f) ftello(3)
RETURN VALUES
Upon successful completion, the ftello() 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 ftello() function sets errno to the corresponding value:
[EBADF] The le descriptor underlying the stream parameter is not a valid le descriptor.
[EOVERFLOW]
The value of the le position cannot be represented in an object of type off_t.
[ESPIPE] An illegal attempt was made to get set the le position of a pipe or FIFO.
RELATED INFORMATION
Functions: fgetpos(3), fopen(3), fseek(3), fsetpos(3), ftell(3), ftello64(3), lseek(2), rewind(3).
STANDARDS CONFORMANCE
The support of Guardian EDIT les is an HP extension to the XPG4 Version 2 specication.
527187-007 Hewlett-Packard Company 2137