From: Michael Poole <mdpoole@troilus.org>
To: "Dongsheng Song" <dongsheng.song@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: maybe headers(linux/aio.h) bug ?
Date: Thu, 12 Oct 2006 08:32:06 -0400 [thread overview]
Message-ID: <87wt7567g9.fsf@graviton.dyn.troilus.org> (raw)
In-Reply-To: <4b3406f0610120527g42bfbc44q45b31dc07f5968de@mail.gmail.com> (Dongsheng Song's message of "Thu, 12 Oct 2006 20:27:28 +0800")
Dongsheng Song writes:
> Whenever I include linux aio header, the compile errors occured:
>
> $ cat test.c
> #include <linux/types.h>
> #include <linux/unistd.h>
> #include <linux/aio.h>
Including kernel header files directly from userspace is not supported
and is almost always (some just say "always") a very bad idea. If you
want to use the C library's AIO support, use its <aio.h> header.
Michael Poole
next prev parent reply other threads:[~2006-10-12 12:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-12 12:27 Dongsheng Song
2006-10-12 12:32 ` Michael Poole [this message]
2006-10-13 1:30 ` Dongsheng Song
2006-10-12 12:56 ` David Woodhouse
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wt7567g9.fsf@graviton.dyn.troilus.org \
--to=mdpoole@troilus.org \
--cc=dongsheng.song@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®