source: rtems/cpukit/libfs/src/imfs/imfs_handlers_link.c @ 4116fce6

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: 878 bytes
Line 
1/*
2 *  Link Operations Table 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 *  Handler table for IMFS device nodes
22 */
23
24const rtems_filesystem_file_handlers_r IMFS_link_handlers = {
25  rtems_filesystem_default_open,
26  rtems_filesystem_default_close,
27  rtems_filesystem_default_read,
28  rtems_filesystem_default_write,
29  rtems_filesystem_default_ioctl,
30  rtems_filesystem_default_lseek,
31  IMFS_stat,  /* stat */
32  rtems_filesystem_default_ftruncate,
33  rtems_filesystem_default_fsync_or_fdatasync,
34  rtems_filesystem_default_fsync_or_fdatasync,
35  rtems_filesystem_default_fcntl
36};
Note: See TracBrowser for help on using the repository browser.