MIO_lseek64 Subroutine

Purpose

Move the read-write file pointer through the MIO library.

Library

Modular I/O library (libmio.a)

Syntax

#include <libmio.h>
 

int64 MIO_lseek64 (FileDescriptor, Offset, Whence)
int FileDescriptor;
int64 Offset;
int Whence;
 
     

Description

This subroutine is an entry point of the MIO library. Use this subroutine to instrument your application with the MIO library. You can replace the fseek64 kernel I/O subroutine with this equivalent MIO subroutine. See the Modular I/O in AIX® Version 7.1 Performance management for the MIO library implementation.

Use this subroutine to set the read-write file pointer for the open file specified by the FileDescriptor parameter through the Modular I/O (MIO) library. The FileDescriptor parameter results from the MIO_open64 subroutine.

Parameters

The parameters are those of the corresponding standard POSIX system call lseek64.

Return Values

The return values are those of the corresponding standard POSIX system call lseek64.

Error Codes

The error codes are those of the corresponding standard POSIX system call lseek64.

Location

/usr/lib/libmio.a