RTEMS Logo

RTEMS 4.9.2 On-Line Library


I/O Manager IO_REGISTER_NAME - Register a device

PREV UP NEXT Bookshelf RTEMS C User's Guide

16.4.4: IO_REGISTER_NAME - Register a device

CALLING SEQUENCE:

rtems_status_code rtems_io_register_name(
  const 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-2008 OAR Corporation