Change the length of regular files through the MIO library.
Modular I/O library (libmio.a)
#include <libmio.h>
int MIO_ftruncate64 (FileDescriptor, Length)
int FileDescriptor;
int64 Length;
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 ftruncate64 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 change the length of the open file specified by the FileDescriptor parameter through Modular I/O (MIO) library. The FileDescriptor parameter results from the MIO_open64 subroutine.
The parameters are those of the corresponding standard POSIX system call ftruncate64.
The return values are those of the corresponding standard POSIX system call ftruncate64.
The error codes are those of the corresponding standard POSIX system call ftruncate64.
/usr/lib/libmio.a