RTEMS Logo

RTEMS 4.8.1 On-Line Library


I/O Manager IO_CLOSE - Close a device

PREV UP NEXT Bookshelf RTEMS Ada User's Guide

16.4.7: IO_CLOSE - Close a device

CALLING SEQUENCE:

NOT SUPPORTED FROM Ada BINDING

DIRECTIVE STATUS CODES:

RTEMS.SUCCESSFUL - successfully initialized
RTEMS.INVALID_NUMBER - invalid major device number

DESCRIPTION:

This directive calls the device driver close routine specified in the Device Driver Table for this major number. The close entry point is commonly used by device drivers to relinquish exclusive access to a device.

NOTES:

This directive may or may not cause the calling task to be preempted. This is dependent on the device driver being invoked.


PREV UP NEXT Bookshelf RTEMS Ada User's Guide

Copyright © 1988-2007OAR Corporation