source: rtems/cpukit/posix/src/key.c @ 3bacb250

4.104.115
Last change on this file since 3bacb250 was b1dbfd7, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/03/09 at 10:10:57

Eliminate TRUE/FALSE.

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/*
2 *  COPYRIGHT (c) 1989-2008.
3 *  On-Line Applications Research Corporation (OAR).
4 *
5 *  The license and distribution terms for this file may be
6 *  found in the file LICENSE in this distribution or at
7 *  http://www.rtems.com/license/LICENSE.
8 *
9 *  $Id$
10 */
11
12#if HAVE_CONFIG_H
13#include "config.h"
14#endif
15
16#include <errno.h>
17#include <limits.h>
18#include <pthread.h>
19#include <string.h>
20#include <limits.h>
21
22#include <rtems/system.h>
23#include <rtems/config.h>
24#include <rtems/score/thread.h>
25#include <rtems/score/wkspace.h>
26#include <rtems/posix/key.h>
27
28/*
29 *  _POSIX_Key_Manager_initialization
30 *
31 *  DESCRIPTION:
32 *
33 *  This routine performs the initialization necessary for this manager.
34 *
35 *  Input parameters:   NONE
36 *
37 *  Output parameters:  NONE
38 */
39
40void _POSIX_Key_Manager_initialization(void)
41{
42  _Objects_Initialize_information(
43    &_POSIX_Keys_Information,   /* object information table */
44    OBJECTS_POSIX_API,          /* object API */
45    OBJECTS_POSIX_KEYS,         /* object class */
46    Configuration_POSIX_API.maximum_keys,
47                                /* maximum objects of this class */
48    sizeof( POSIX_Keys_Control ),
49                                /* size of this object's control block */
50    true,                       /* true if names for this object are strings */
51    _POSIX_PATH_MAX             /* maximum length of each object's name */
52#if defined(RTEMS_MULTIPROCESSING)
53    ,
54    false,                      /* true if this is a global object class */
55    NULL                        /* Proxy extraction support callout */
56#endif
57  );
58}
Note: See TracBrowser for help on using the repository browser.