source: rtems/cpukit/libfs/src/devfs/devclose.c @ c499856

4.115
Last change on this file since c499856 was c499856, checked in by Chris Johns <chrisj@…>, on Mar 20, 2014 at 9:10:47 PM

Change all references of rtems.com to rtems.org.

  • Property mode set to 100644
File size: 545 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Maps Close Operation to rtems_io_close
5 * @ingroup DevFsDeviceTable Define Device Table Type
6 */
7
8/*
9 *  The license and distribution terms for this file may be
10 *  found in the file LICENSE in this distribution or at
11 *  http://www.rtems.org/license/LICENSE.
12 */
13
14#if HAVE_CONFIG_H
15  #include "config.h"
16#endif
17
18#include "devfs.h"
19
20#include <rtems/deviceio.h>
21
22int devFS_close(
23  rtems_libio_t *iop
24)
25{
26  const devFS_node *np = iop->pathinfo.node_access;
27
28  return rtems_deviceio_close( iop, np->major, np->minor );
29}
Note: See TracBrowser for help on using the repository browser.