OAR

RTEMS 4.0.0 On-Line Library


I/O Manager IO_REGISTER_NAME - Register a device

PREV UP NEXT Bookshelf RTEMS C User's Guide

15.4.2: IO_REGISTER_NAME - Register a device

CALLING SEQUENCE:

rtems_status_code rtems_io_register_name(
  char                      *name,
  rtems_device_major_number  major,
  rtems_device_minor_number  minor
);

DIRECTIVE STATUS CODES:

RTEMS_SUCCESSFUL - successfully initialized
RTEMS_TOO_MANY - too many devices registered

DESCRIPTION:

This directive associates name with the specified major/minor number pair.

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