Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)
ftello(3) OSS Library Calls Reference Manual
RETURN VALUES
Upon successful completion, the ftello( ) 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 ftello( ) function sets errno to the corresponding value:
[EBADF] The file descriptor underlying the stream parameter is not a valid file descriptor.
[EOVERFLOW]
The value of the file position cannot be represented in an object of type off_t.
[ESPIPE] An illegal attempt was made to get set the file 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 files is an HP extension to the XPG4 Version 2 specification.
2−192 Hewlett-Packard Company 527187-017