DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

suds_aioinfo(S-osr5)


suds_aioinfo -- return asynchronous I/O status information

Syntax

cc . . . -lsuds
#include <sys/aio.h>

int suds_aioinfo(unsigned long function);

Description

The suds_aioinfo(S-osr5) function allows an application to determine more information about asynchronous I/O. The information returned to the application depends on the function argument, as follows:

AIO_MSTAT_AMOUNT
Returns the amount of memory that could not be obtained when suds_shmat(S-osr5) was executed.

Return values

The function suds_aioinfo returns a value dependent on its argument. Otherwise, -1 is returned and errno is set to indicate the error.

Diagnostics

For the following condition, the suds_aioinfo function returns -1 and sets errno to the corresponding value:

[EINVAL]
The argument is not a valid option.

See also

aio(FP), aio_error(S-osr5), aio_return(S-osr5), aio_write(S-osr5), lio_listio(S-osr5), suds_shmat(S-osr5)

Standards conformance

suds_aioinfo is an extension of AT&T System V provided by The Santa Cruz Operation, Inc.
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005