summaryrefslogtreecommitdiff
path: root/cpukit/posix/src/aio_suspend.c
blob: 1fdec4729152689ad7446b5f5d915724370bdcd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/**
 * @file
 *
 * @brief Suspends Process until Asynchronous I/O Operation completes
 * @ingroup POSIXAPI
 */

/*
 *  6.7.7 Wait for Asynchronous I/O Request, P1003.1b-1993, p. 164
 *
 *  COPYRIGHT (c) 1989-2007.
 *  On-Line Applications Research Corporation (OAR).
 *
 *  The license and distribution terms for this file may be
 *  found in the file LICENSE in this distribution or at
 *  http://www.rtems.org/license/LICENSE.
 */

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif

#include <aio.h>
#include <errno.h>

#include <rtems/score/basedefs.h>
#include <rtems/seterr.h>

int aio_suspend(
  const struct aiocb  * const list[] RTEMS_UNUSED,
  int                     nent RTEMS_UNUSED,
  const struct timespec  *timeout RTEMS_UNUSED
)
{
  rtems_set_errno_and_return_minus_one( ENOSYS );
}