source: rtems/cpukit/posix/include/rtems/posix/posixapi.h @ a2e3f33

4.115
Last change on this file since a2e3f33 was a2e3f33, checked in by Sebastian Huber <sebastian.huber@…>, on 07/24/13 at 11:50:54

score: Create object implementation header

Move implementation specific parts of object.h and object.inl into new
header file objectimpl.h. The object.h contains now only the
application visible API.

  • Property mode set to 100644
File size: 1.6 KB
Line 
1/**
2 * @file
3 *
4 * @brief POSIX API Implementation
5 *
6 * This include file defines the top level interface to the POSIX API
7 * implementation in RTEMS.
8 */
9
10/*
11 *  COPYRIGHT (c) 1989-2011.
12 *  On-Line Applications Research Corporation (OAR).
13 *
14 *  The license and distribution terms for this file may be
15 *  found in the file LICENSE in this distribution or at
16 *  http://www.rtems.com/license/LICENSE.
17 */
18
19#ifndef _RTEMS_POSIX_POSIXAPI_H
20#define _RTEMS_POSIX_POSIXAPI_H
21
22#include <rtems/config.h>
23#include <rtems/score/objectimpl.h>
24
25/**
26 * @defgroup POSIXAPI RTEMS POSIX API
27 *
28 * RTEMS POSIX API definitions and modules.
29 *
30 */
31/**@{**/
32
33/**
34 * @brief Initialize POSIX API.
35 *
36 * This method is responsible for initializing each of the POSIX
37 * API managers.
38 */
39void _POSIX_API_Initialize(void);
40
41/**
42 * @brief Queries the object identifier @a id for a @a name.
43 *
44 * @param[in] information Object information.
45 * @param[in] name Zero terminated name string to look up.
46 * @param[out] id Pointer for identifier.  The pointer must be valid.
47 * @param[out] len Pointer for string length.  The pointer must be valid.
48 *
49 * @retval 0 Successful operation.
50 * @retval EINVAL The @a name pointer is @c NULL or the @a name string has
51 * zero length.
52 * @retval ENAMETOOLONG The @a name string length is greater than or equal to
53 * @c NAME_MAX.
54 * @retval ENOENT Found no corresponding identifier.
55 */
56int _POSIX_Name_to_id(
57  Objects_Information *information,
58  const char          *name,
59  Objects_Id          *id,
60  size_t              *len
61);
62
63/** @} */
64
65#endif
66/* end of include file */
Note: See TracBrowser for help on using the repository browser.