RTEMS Logo

RTEMS 4.7.2 On-Line Library


device_close() for Devices

PREV UP NEXT Bookshelf RTEMS Filesystem Design Guide

6.4.4.2: device_close() for Devices

Corresponding Structure Element:

device_close()

Arguments:

rtems_libio_t     *iop

File:

deviceio.c

Description:

This routine extracts the major and minor device driver numbers from the IMFS_jnode_t that is referenced in the file control block.

It also forms an argument list that contains the file control block.

A rtems_io_close() function call is made to close the device specified by the major and minor device numbers.


PREV UP NEXT Bookshelf RTEMS Filesystem Design Guide

Copyright © 1988-2004 OAR Corporation