RTEMS Logo

RTEMS 4.7.99.2 On-Line Library


I/O Manager IO_LOOKUP_NAME - Lookup a device

PREV UP NEXT Bookshelf RTEMS C User's Guide

16.4.5: IO_LOOKUP_NAME - Lookup a device

CALLING SEQUENCE:

rtems_status_code rtems_io_lookup_name(
  const char                *name,
  rtems_driver_name_t       *device_info
);

DIRECTIVE STATUS CODES:

RTEMS_SUCCESSFUL - successfully initialized
RTEMS_UNSATISFIED - name not registered

DESCRIPTION:

This directive returns the major/minor number pair associated with the given device name in device_info.

NOTES:

This directive will not cause the calling task to be preempted.


PREV UP NEXT Bookshelf RTEMS C User's Guide

Copyright © 1988-2004 OAR Corporation