Basically I want to model POSIX async io "aiocb"( http://uw714doc.sco.com/en/man/html.5/aiocb.5.html) in Haskell .. in particular the aiocb field "aio_buf"!

Kind regards, Vasili

On Sun, Jun 22, 2008 at 1:47 AM, Galchin, Vasili <vigalchin@gmail.com> wrote:
Hello,

    I want to model an I/O read/write buffer in Haskell and marshall down into ANSI C.

1) ByteString? Or Ptr Word8?

2) What are example values of the types in 1)?


Kind regards, Vasili