source: rtems/cpukit/posix/src/aio_cancel.c @ 92f4671

4.104.115
Last change on this file since 92f4671 was 92f4671, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/02/09 at 10:04:24

Add attribute((unused)) to unused function args.

  • Property mode set to 100644
File size: 640 bytes
Line 
1/*
2 *  6.7.7 Cancel Asynchronous I/O Operation, P1003.1b-1993, p. 163
3 *
4 *  COPYRIGHT (c) 1989-2007.
5 *  On-Line Applications Research Corporation (OAR).
6 *
7 *  The license and distribution terms for this file may be
8 *  found in the file LICENSE in this distribution or at
9 *  http://www.rtems.com/license/LICENSE.
10 *
11 *  $Id$
12 */
13
14#if HAVE_CONFIG_H
15#include "config.h"
16#endif
17
18#include <aio.h>
19#include <errno.h>
20
21#include <rtems/system.h>
22#include <rtems/seterr.h>
23
24int aio_cancel(
25  int            filedes __attribute__((unused)),
26  struct aiocb  *aiocbp __attribute__((unused))
27)
28{
29  rtems_set_errno_and_return_minus_one( ENOSYS );
30}
Note: See TracBrowser for help on using the repository browser.