source: rtems/cpukit/rtems/src/rtemsidtoname.c @ 50f32b11

4.104.114.84.95
Last change on this file since 50f32b11 was 50f32b11, checked in by Ralf Corsepius <ralf.corsepius@…>, on 04/18/04 at 06:05:35

Remove stray white spaces.

  • Property mode set to 100644
File size: 1012 bytes
Line 
1/*
2 *  RTEMS ID To Name Lookup
3 *
4 *
5 *  COPYRIGHT (c) 1989-2003.
6 *  On-Line Applications Research Corporation (OAR).
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.rtems.com/license/LICENSE.
11 *
12 *  $Id$
13 */
14
15#include <rtems/system.h>
16#include <rtems/score/object.h>
17#include <rtems/rtems/status.h>
18#include <rtems/rtems/types.h>
19
20/*PAGE
21 *
22 *  rtems_object_id_to_name
23 *
24 *  This directive returns the name associated with the specified
25 *  object ID.
26 *
27 *  Input parameters:
28 *    id   - message queue id
29 *
30 *  Output parameters:
31 *    *name            - user defined object name
32 *    RTEMS_SUCCESSFUL - if successful
33 *    error code       - if unsuccessful
34 */
35
36rtems_status_code rtems_object_id_to_name(
37  rtems_id      id,
38  rtems_name   *name
39)
40{
41  Objects_Name_or_id_lookup_errors  status;
42
43  status = _Objects_Id_to_name( id, (Objects_Name *) name );
44
45  return _Status_Object_name_errors_to_status[ status ];
46}
Note: See TracBrowser for help on using the repository browser.