On 11/07/2015 02:05 AM, alikewmk wrote: > Hello, > > The example code under > http://man7.org/linux/man-pages/man7/aio.7.html lacks a include file > `fcntl.h`, since the code is using `O_RDONLY` in `open()` function, > according to the GNU document here > (http://www.gnu.org/software/libc/manual/html_node/Opening-and-Closing-Files.html), > it needs to be included. > > I tested the code after including the `fcntl.h` file and it worked.> > Thanks. :) Thanks, Meikun. I added that header file to the example code. Cheers, Michael -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html