MIO_fcntl Subroutine

Purpose

Control open file descriptors through the MIO library.

Library

Modular I/O library (libmio.a)

Syntax

#include <libmio.h>

int MIO_fcntl ( FileDescriptor, Command, Argument ) 

int  FileDescriptor, Command, Argument;

Description

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

Use this subroutine to perform controlling operations on the open file specified by the FileDescriptor parameter. The FileDescriptor parameter results from the MIO_open64 subroutine.

Parameters

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

Return Values

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

Error Codes

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

Location

/usr/lib/libmio.a