5
Last change
on this file since 04da96c7 was
c904df5,
checked in by Sebastian Huber <sebastian.huber@…>, on 03/18/16 at 06:25:23
|
score: Add _Objects_Get_by_name()
Replace _Objects_Name_to_id_string() with _Objects_Get_by_name() since
all users of this function are interested in the object itself and not
the identifier.
Use the object allocator lock to protect the search.
Update #2555.
|
-
Property mode set to
100644
|
File size:
512 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | * |
---|
4 | * @brief POSIX Name to ID |
---|
5 | * @ingroup POSIXAPI |
---|
6 | */ |
---|
7 | |
---|
8 | /* |
---|
9 | * COPYRIGHT (c) 1989-2009. |
---|
10 | * On-Line Applications Research Corporation (OAR). |
---|
11 | * |
---|
12 | * The license and distribution terms for this file may be |
---|
13 | * found in the file LICENSE in this distribution or at |
---|
14 | * http://www.rtems.org/license/LICENSE. |
---|
15 | */ |
---|
16 | |
---|
17 | #if HAVE_CONFIG_H |
---|
18 | #include "config.h" |
---|
19 | #endif |
---|
20 | |
---|
21 | #include <rtems/posix/posixapi.h> |
---|
22 | |
---|
23 | #include <errno.h> |
---|
24 | |
---|
25 | const int _POSIX_Get_by_name_error_table[ 3 ] = { |
---|
26 | EINVAL, |
---|
27 | ENAMETOOLONG, |
---|
28 | ENOENT |
---|
29 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.