4.104.114.95
Last change
on this file since 7c007cf was
7c007cf,
checked in by Thomas Doerfler <Thomas.Doerfler@…>, on 07/10/08 at 06:03:51
|
Added S_IRWXU, S_IRWXG and S_IRWXO to file mode.
|
-
Property mode set to
100644
|
File size:
759 bytes
|
Rev | Line | |
---|
[7999174] | 1 | /* |
---|
| 2 | * Device Operations Table for the IMFS |
---|
| 3 | * |
---|
[08311cc3] | 4 | * COPYRIGHT (c) 1989-1999. |
---|
[7999174] | 5 | * On-Line Applications Research Corporation (OAR). |
---|
| 6 | * |
---|
| 7 | * The license and distribution terms for this file may be |
---|
| 8 | * found in the file LICENSE in this distribution or at |
---|
[cf0539b1] | 9 | * http://www.rtems.com/license/LICENSE. |
---|
[7999174] | 10 | * |
---|
| 11 | * $Id$ |
---|
| 12 | */ |
---|
| 13 | |
---|
[d6b1d73] | 14 | #if HAVE_CONFIG_H |
---|
| 15 | #include "config.h" |
---|
| 16 | #endif |
---|
| 17 | |
---|
[7999174] | 18 | #include <errno.h> |
---|
| 19 | |
---|
| 20 | #include "imfs.h" |
---|
| 21 | |
---|
| 22 | /* |
---|
| 23 | * Handler table for IMFS device nodes |
---|
| 24 | */ |
---|
| 25 | |
---|
[bf95ccb5] | 26 | const rtems_filesystem_file_handlers_r IMFS_device_handlers = { |
---|
[7999174] | 27 | device_open, |
---|
| 28 | device_close, |
---|
| 29 | device_read, |
---|
| 30 | device_write, |
---|
| 31 | device_ioctl, |
---|
| 32 | device_lseek, |
---|
| 33 | IMFS_stat, |
---|
| 34 | IMFS_fchmod, |
---|
[7c007cf] | 35 | device_ftruncate, |
---|
[7999174] | 36 | NULL, /* fpathconf */ |
---|
| 37 | NULL, /* fsync */ |
---|
| 38 | NULL, /* fdatasync */ |
---|
[4a07d2b] | 39 | NULL, /* fcntl */ |
---|
[94b357c2] | 40 | IMFS_rmnod |
---|
[7999174] | 41 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.