Skip to main content
GameDev.net gamedev.net
🔒 Locked

Asynchronous file IO

Started by BradDaBug Mar 19, 2006 at 12:31 PM 1 replies 2.1k views
Original Post
BradDaBug
BradDaBug
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:
#include <linux/aio.h>

int main()
{
	return 0;
}
Has anyone done this before? What am I doing wrong?
I like the DARK layout!
BradDaBug
BradDaBug
Hmm, if I do #include instead of #include it compiles fine. Amazing how much better my debugging skills are after I've had some sleep [headshake].
I like the DARK layout!
BradDaBug
BradDaBug
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!

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.