OAR

RTEMS 4.0.0 On-Line Library


I/O Manager IO_LOOKUP_NAME - Lookup a device

PREV UP NEXT Bookshelf RTEMS C User's Guide

15.4.3: 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-1998 OAR Corporation