Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

aio(4) [osx man page]

AIO(4)							   BSD Kernel Interfaces Manual 						    AIO(4)

NAME
aio -- asynchronous I/O DESCRIPTION
The aio facility provides system calls for asynchronous I/O. SEE ALSO
aio_cancel(2), aio_error(2), aio_read(2), aio_return(2), aio_suspend(2), aio_write(2), lio_listio(2) HISTORY
The aio facility appeared in FreeBSD 3.0. BSD
February 16, 2006 BSD

Check Out this Related Man Page

AIO_RETURN(2)						      BSD System Calls Manual						     AIO_RETURN(2)

NAME
aio_return -- retrieve return status of asynchronous I/O operation (REALTIME) LIBRARY
Standard C Library (libc, -lc) SYNOPSIS
#include <aio.h> int aio_return(struct aiocb *iocb); DESCRIPTION
The aio_return() system call returns the final status of the asynchronous I/O request associated with the structure pointed to by iocb. The aio_return() system call should only be called once, to obtain the final status of an asynchronous I/O operation once it has completed (aio_error(2) returns something other than EINPROGRESS). RETURN VALUES
If the asynchronous I/O request has completed, the status is returned as described in read(2), write(2), or fsync(2). Otherwise, aio_return() returns -1 and sets errno to indicate the error condition. ERRORS
The aio_return() system call will fail if: [EINVAL] The iocb argument does not reference a completed asynchronous I/O request. SEE ALSO
aio_cancel(2), aio_error(2), aio_suspend(2), aio_waitcomplete(2), aio_write(2), fsync(2), read(2), write(2), aio(4) STANDARDS
The aio_return() system call is expected to conform to the IEEE Std 1003.1 (``POSIX.1'') standard. HISTORY
The aio_return() system call first appeared in FreeBSD 3.0. AUTHORS
This manual page was written by Wes Peters <wes@softweyr.com>. BSD
October 7, 2006 BSD
Man Page

13 More Discussions You Might Find Interesting

1. Programming

Problem with aio_write() function

Hello, How to execute a call back function after aio_write() or aio_read() in Sun Solaris 5.7? I have filled the control block struct aiocb as follows: aio_sigevent.sigev_signo = SIGEV aio_sigevent.sigev_notify = SIGEV_THREAD Then I have filled the call back function in ... (0 Replies)
Discussion started by: hmurali
0 Replies

2. Linux

Sony Vaio and Linux

Sold this computer, thread closed. (1 Reply)
Discussion started by: erhan_j
1 Replies

3. Programming

converaion ASCII to HEX

anyone knows any formulae or flow chart or procedure to convert ASCII characters into HEXA values... (4 Replies)
Discussion started by: Thippeswamy
4 Replies

4. AIX

Problem with aioo

Hi, sorry for my english. Can somebody help me?. I want to run this command on my system and : aioo -o fsfastpath=1 exec(): 0509-036 Cannot load program aioo because of the following errors: 0509-130 Symbol resolution failed for aioo because: 0509-136 Symbol aio_cntl... (2 Replies)
Discussion started by: fjgonzalez
2 Replies

5. Solaris

Solaris 10 installaion problem in X86

Hi, I have x86 machine with P4, 512 MB with 17" ViewSonic TFT screen. I installed Solaris 10 and i am geeting the error messages like "Notice: failed to initialize inband hot plug controllers." while booting. Later am getting the shrinked window in single line. I thought itd because of video... (4 Replies)
Discussion started by: paventhan
4 Replies

6. UNIX for Dummies Questions & Answers

Segmentaion Fault - Core dumped during cpio

The same cpio script has been working for years without modifications, until the last couple of nights when we get the error Segmentation Fault - core dumped and the cpio aborts. It appears to abort in relatively the same place every time and on multiple tapes. Do I have a bad tape drive,... (8 Replies)
Discussion started by: golfs4us
8 Replies

7. Solaris

Solaris Route configuraion

Hi, Any one can help me in this below mentioned issue I am facing in my solaris server? here the scenario goes.... i have multiple segments in my LAN like remote csr, database, production etc. and all the segments are configured in Windows/CISCo network. from my all system in remote... (1 Reply)
Discussion started by: Praan
1 Replies

8. AIX

aioo seems to be not installed

Hi everyone: I've a server running AIX 6.1 which had initialy technology level =0, after an upgrade oslevel -s reports that it was increased to 6100-04-02, however after doing this the aioo command seems to be not present, what did I do wrong? edit: lslpp shows bos.rte.aio was installed: ... (1 Reply)
Discussion started by: edgarvm
1 Replies

9. AIX

AIO on AIX 6.1

I understand that AIO is not something that you turn on in AIX 6.1 but I am getting a request to turn on posix aio. I am guessing a value of 0 means it's off but not sure. root@foobar:/> ioo -a | grep active aio_active = 1 posix_aio_active = 0 When I... (1 Reply)
Discussion started by: juredd1
1 Replies

10. AIX

how to check AIO running on /usr2

Hello guys, help me out on this.. I am not so well versed in this AIO. How do tell if AIO is running for /usr2 ? From what i see / usr2 is JFS2. Here some information: Name Nodename Mount Pt VFS Size Options Auto Accounting /dev/hd4 -- / jfs 1835008 -- yes no /dev/hd1 -- /home jfs... (3 Replies)
Discussion started by: wingcross
3 Replies

11. AIX

aioserver query

Hi Gurus, What is the recommended value for aioserver in aix 5.3 current value is 16384 And used is ps -k|wc -l 4768 We usauslly get issues like slow server performance and query waiting time more etc. Regards newaix (2 Replies)
Discussion started by: newaix
2 Replies

12. AIX

The immortal aioserver

When shutdown an oracle server i see this error message at exit umount /oracle/ umount: error unmounting /dev/oracle: Device busy lsof and fuser report nothing but ps aux|grep oracle report this oracle 5964026 0,0 0,0 448 448 - A apr 21 0:00 aioserver oracle ... (16 Replies)
Discussion started by: Linusolaradm1
16 Replies

13. Programming

Why no header file is OK for implementation?

A very basic thing but quite strange to me. There is not corresponding header file (fastq.h) for the implementation fastq.cpp which has the line: #include "fastq.h", in a package source code, but at compiling of the whole pkg I did not get any error. There is no #indef/#endif condition.... (2 Replies)
Discussion started by: yifangt
2 Replies