source: rtems/cpukit/posix/src/aio_return.c @ 127c20eb

5
Last change on this file since 127c20eb was c499856, checked in by Chris Johns <chrisj@…>, on 03/20/14 at 21:10:47

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 783 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Final return status for Asynchronous I/O request pointed to by aiobcp
5 * @ingroup POSIXAPI
6 */
7
8/*
9 * Copyright 2010, Alin Rus <alin.codejunkie@gmail.com>
10 *
11 * The license and distribution terms for this file may be
12 * found in the file LICENSE in this distribution or at
13 * http://www.rtems.org/license/LICENSE.
14 */
15
16#if HAVE_CONFIG_H
17#include "config.h"
18#endif
19
20#include <aio.h>
21#include <errno.h>
22
23#include <rtems/system.h>
24#include <rtems/seterr.h>
25
26/*
27 *  aio_return
28 *
29 * Retrieve return status of an asynchronous I/O operation
30 *
31 *  Input parameters:
32 *        aiocbp - asynchronous I/O control block
33 *
34 *  Output parameters:
35 *        aiocbp->return_value
36 */
37
38ssize_t
39aio_return (const struct aiocb *aiocbp)
40{
41  return aiocbp->return_value;
42}
Note: See TracBrowser for help on using the repository browser.