source:
rtems/cpukit/libfs/src/devfs/devwrite.c
@
fed66f99
Last change on this file since fed66f99 was fed66f99, checked in by Sebastian Huber <sebastian.huber@…>, on 05/14/12 at 13:19:20 | |
---|---|
|
|
File size: 489 bytes |
Rev | Line | |
---|---|---|
[d40da79b] | 1 | /* |
2 | * The license and distribution terms for this file may be | |
3 | * found in the file LICENSE in this distribution or at | |
4 | * http://www.rtems.com/license/LICENSE. | |
5 | */ | |
6 | ||
7 | #if HAVE_CONFIG_H | |
[fed66f99] | 8 | #include "config.h" |
[d40da79b] | 9 | #endif |
10 | ||
11 | #include "devfs.h" | |
12 | ||
[fed66f99] | 13 | #include <rtems/deviceio.h> |
14 | ||
[d40da79b] | 15 | ssize_t devFS_write( |
16 | rtems_libio_t *iop, | |
17 | const void *buffer, | |
18 | size_t count | |
19 | ) | |
20 | { | |
[3b7c123] | 21 | const devFS_node *np = iop->pathinfo.node_access; |
[d40da79b] | 22 | |
[fed66f99] | 23 | return rtems_deviceio_write( iop, buffer, count, np->major, np->minor ); |
[d40da79b] | 24 | } |
Note: See TracBrowser
for help on using the repository browser.