RTEMS Logo

RTEMS 4.6.1 On-Line Library


I/O Manager IO_LOOKUP_NAME - Lookup a device

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

16.4.5: IO_LOOKUP_NAME - Lookup a device

CALLING SEQUENCE:

procedure IO_Lookup_Name (
   Name         : in     String;
   Device_Info  :    out RTEMS.Driver_Name_t_Pointer;
   Result       :    out RTEMS.Status_Codes
);

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 Ada User's Guide

Copyright © 1988-2004 OAR Corporation