RTEMS Logo

RTEMS 4.10.2 On-Line Library


Object Services OBJECT_GET_NAME - Obtain object name as string

PREV UP NEXT Bookshelf RTEMS C User's Guide

27.4.3: OBJECT_GET_NAME - Obtain object name as string

CALLING SEQUENCE:

char *rtems_object_get_name(
  rtems_id       id,
  size_t         length,
  char          *name
);

DIRECTIVE STATUS CODES

Returns a pointer to the name if successful or NULL otherwise.

DESCRIPTION:

This service looks up the name of the object specified by id and places it in the memory pointed to by name. Every attempt is made to return name as a printable string even if the object has the Classic API thirty-two bit style name.

NOTES:

This directive is strictly local and does not impact task scheduling.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2008 OAR Corporation