source: rtems/cpukit/libfs/src/devfs/devwrite.c @ 3c96bee

4.115
Last change on this file since 3c96bee was 9bff3752, checked in by Mathew Kallada <matkallada@…>, on 12/11/12 at 23:54:46

libfs: Doxygen Enhancement GCI Task #7

http://www.google-melange.com/gci/task/view/google/gci2012/8006219

  • Property mode set to 100644
File size: 609 bytes
Line 
1/**
2 * @file
3 *
4 * @brief Writes Operation to rtems_io_write
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.com/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
22ssize_t devFS_write(
23  rtems_libio_t *iop,
24  const void    *buffer,
25  size_t         count
26)
27{
28  const devFS_node *np = iop->pathinfo.node_access;
29
30  return rtems_deviceio_write( iop, buffer, count, np->major, np->minor );
31}
Note: See TracBrowser for help on using the repository browser.