Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 165217 - "io_setup( )/io_destroy( )" have not been defined in <linux/aio.h>.
"io_setup( )/io_destroy( )" have not been defined in <linux/aio.h>.
Status: CLOSED DUPLICATE of bug 146870
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: man-pages-ja (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Akira TAGOH
Alexandre Petit-Bianco
Depends On: 146870
  Show dependency treegraph
Reported: 2005-08-05 11:08 EDT by Brian Brock
Modified: 2010-10-21 23:14 EDT (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-08-05 11:13:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Brian Brock 2005-08-05 11:08:01 EDT
+++ This bug was initially created as a clone of Bug #146870 +++

Description of problem:

Result is compile error, 
when we compiled our code(test.c) calling io_setup( )/io_destroy.

Error message is as follows.
aio.c:2:23: linux/aio.h: No such file or directory

So, we searched aio.h.
# find / -name aio.h

We could not find io_setup()/io_destroy() in the headers.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. see aio.h
Actual results:
"io_setup()/io_destroy()" have not been defined in aio.h.

Expected results:
"io_setup()/io_destroy()" have been defined in aio.h.

Additional info:
# cat test.c
#include <stdio.h>
#include <linux/aio.h>

int           nr_events;
long          rc;
char          *ctxp;

    nr_events = 4;
    rc = io_setup( nr_events, ctxp );
    rc = io_destroy( ctxp );

# man io_setup
IO_SETUP(2)                Linux Programmer's Manual              

       io_setup - Create an asynchronous I/O context

       #include <linux/aio.h>

       long io_setup (unsigned nr_events, aio_context_t *ctxp);

Linux 2.4                         2003-02-21                      
Comment 1 Brian Brock 2005-08-05 11:13:40 EDT
mistake on my part, this clone should not have been created.

closing as DUPLICATE.

*** This bug has been marked as a duplicate of 146870 ***

Note You need to log in before you can comment on or make changes to this bug.