carta
rfio_fseeko64(3)

rfio_fseeko643

Positions/repositions a file

Usage

Under Linux, for large files:

Overview

rfio_fseek positions/repositions to offset the file associated with the descriptor fp generated by a previous rfio_fopen. whence indicates how to interpret the offset value:

SEEK_SET

The offset is set from beginning of file.

SEEK_CUR

The offset is added to current position.

SEEK_END

The offset is added to current file size.

rfio_fseeko64 can be used with large files and allows to use a 64 bit offset rather than a long.

Return value

This routine returns 0 if the operation was successful or -1 if the operation failed. In the latter case, serrno is set appropriately.

Errors

EBADF

fp is not a valid descriptor.

EINVAL

incorrect value for whence.

SENOSHOST

Host unknown.

SENOSSERV

Service unknown.

SETIMEDOUT

Timed out.

SEBADVERSION

Version ID mismatch.

SEINTERNAL

Internal error.

SECONNDROP

Connection closed by remote end.

SECOMERR

Communication error.

Author

LCG Grid Deployment Team

From libdpm-dev 1.10.0-2+b3 in Debian 10 (Buster). Parsed by carta from the page's man source.