#include <linux/aio.h>
int main()
{
return 0;
}
Has anyone done this before? What am I doing wrong?
Asynchronous file IO
I was inspired to try my hand at asynchronous file IO, but I'm having some problems. I can't even include the header without getting compiler errors. For example, this code gives me all sorts of errors from down inside the headers that aio.h includes:
I like the DARK layout!
Hmm, if I do #include <aio.h> instead of #include <linux/aio.h> it compiles fine. Amazing how much better my debugging skills are after I've had some sleep [headshake].
I like the DARK layout!
Well that was easy. I've gotten it working on both Linux and MacOSX. I've even whipped up a little tutorial, since documentation seemed to be a little sparse. Consider it a rough draft though, since I'm pretty new at this and I could be misusing something.
I like the DARK layout!
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement