On Fri, Dec 4, 2009 at 12:07 AM, Ted Unangst <ted.unan...@gmail.com> wrote: > On Thu, Dec 3, 2009 at 11:47 PM, Dope Ice Apollyon the Third > <kou...@gmail.com> wrote: >> On Thu, Dec 3, 2009 at 10:57 PM, Luis Useche <use...@gmail.com> wrote: >>> Hi Guys, >>> >>> I have been looking for information on how to do asynchronous I/Os in >>> OBSD with no luck. The only thing I have found so far is the O_ASYNC >>> flag in the fcntl syscall. I couldn't find any manual that talks about >>> this. Is this functionality included in OBSD?. If so, where can I find >>> information? >>> >> >> Well, open(2) mentions "If the O_SYNC flag is set, all I/O operations >> on the file will be done synchronously.", so I suppose we're supposed >> to assume the default is O_ASYNC. But I suspect what you're really >> looking for is select(2). > > He's probably looking for aio_read and aio_write and such, but as one > can tell by the absence of man pages, they don't exist here.
Exactly, I am more interested more in something close to aio_read & aio_write. I was hoping there was some api I can use. Is there any reason why POSIX aio does not exist in OBSD? Security reasons maybe? Luis.