Read from a file through the MIO library.
Modular I/O library (libmio.a)
#include <libmio.h>
int MIO_read(FileDescriptor,
Buffer, NBytes)
int FileDescriptor;
void * Buffer;
int NBytes;
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 read kernel I/O subroutine with this equivalent MIO subroutine. See theModular I/O in AIX® Version 7.1 Performance management for the MIO library implementation.
Use this subroutine to read to the number of bytes of data specified by the NBytes parameter from the file associated with the FileDescriptor parameter into the buffer, through the Modular I/O (MIO) library. The Buffer parameter points to the buffer. The FileDescriptor parameter results from the MIO_open64 subroutine.
The parameters are those of the corresponding standard POSIX system call read.
The return values are those of the corresponding standard POSIX system call read.
The error codes are those of the corresponding standard POSIX system call read.
/usr/lib/libmio.a