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: