MIO_lio_listio64 Subroutine

Purpose

Initiate a list of asynchronous I/O requests with a single call.

Library

Modular I/O library (libmio.a)

Syntax

#include <libmio.h>

int MIO_lio_listio64 (Command, List, Nent, Eventp)
int Command;
struct liocb64 *List;
int Nent;
struct event *Eventp;

Description

This subroutine is an entry point of the MIO library for the Legacy AIO lio_listio64 Subroutine. Use this subroutine to instrument your application with MIO library. You can replace the Legacy AIO lio_listio64 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.

The lio_listio64 subroutine allows the calling process to initiate the Nent parameter asynchronous I/O requests. These requests are specified in the liocb structures pointed to by the elements of the List array. The call may block or return immediately depending on the Command parameter. If the Command parameter requests that I/O completion be asynchronously notified, a SIGIO signal is delivered when all of the I/O operations are completed.

Parameters

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

Return Values

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

Error Codes

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

Location

/usr/lib/libmio.a