Write to a file through the MIO library.
Modular I/O library (libmio.a)
#include <libmio.h>
int MIO_write(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 write 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 write the number of bytes of data specified by the NBytes parameter from the buffer to the file associated with the FileDescriptor parameter 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 write.
The return values are those of the corresponding standard POSIX system call write.
The error codes are those of the corresponding standard POSIX system call write.
/usr/lib/libmio.a