4.115
Last change
on this file since 4116fce6 was
4116fce6,
checked in by Sebastian Huber <sebastian.huber@…>, on 02/24/12 at 16:39:27
|
Filesystem: New defaults fsync_h and fdatasync_h
New defaults rtems_filesystem_default_fsync_or_fdatasync() and
rtems_filesystem_default_fsync_or_fdatasync_success() for fsync_h and
fdatasync_h. The rtems_filesystem_default_fsync_or_fdatasync() sets now
errno to EINVAL according to POSIX.
|
-
Property mode set to
100644
|
File size:
797 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Memfile Operations Tables for the IMFS |
---|
3 | * |
---|
4 | * COPYRIGHT (c) 1989-1999. |
---|
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 |
---|
9 | * http://www.rtems.com/license/LICENSE. |
---|
10 | * |
---|
11 | * $Id$ |
---|
12 | */ |
---|
13 | |
---|
14 | #if HAVE_CONFIG_H |
---|
15 | #include "config.h" |
---|
16 | #endif |
---|
17 | |
---|
18 | #include "imfs.h" |
---|
19 | |
---|
20 | /* |
---|
21 | * Set of operations handlers for operations on memfile entities. |
---|
22 | */ |
---|
23 | |
---|
24 | const rtems_filesystem_file_handlers_r IMFS_memfile_handlers = { |
---|
25 | memfile_open, |
---|
26 | memfile_close, |
---|
27 | memfile_read, |
---|
28 | memfile_write, |
---|
29 | memfile_ioctl, |
---|
30 | memfile_lseek, |
---|
31 | IMFS_stat, |
---|
32 | memfile_ftruncate, |
---|
33 | rtems_filesystem_default_fsync_or_fdatasync_success, |
---|
34 | rtems_filesystem_default_fsync_or_fdatasync_success, |
---|
35 | rtems_filesystem_default_fcntl |
---|
36 | }; |
---|
Note: See
TracBrowser
for help on using the repository browser.