source: rtems/cpukit/libfs/src/imfs/imfs_handlers_memfile.c @ 9788279

4.115
Last change on this file since 9788279 was 9788279, checked in by Sebastian Huber <sebastian.huber@…>, on 08/25/10 at 09:37:49

2010-08-25 Sebastian Huber <sebastian.huber@…>

  • libfs/src/imfs/imfs_fcntl.c: Removed file.
  • libfs/Makefile.am: Reflect change from above.
  • libfs/src/defaults/default_fcntl.c: Return 0 instead of -1 and errno.
  • libfs/src/imfs/imfs.h, libfs/src/imfs/imfs_fifo.c, libfs/src/imfs/imfs_handlers_directory.c, libfs/src/imfs/imfs_handlers_memfile.c, libfs/src/nfsclient/src/nfs.c, libfs/src/rfs/rtems-rfs-rtems-dir.c, libfs/src/rfs/rtems-rfs-rtems-file.c, libfs/src/rfs/rtems-rfs-rtems.c, libfs/src/rfs/rtems-rfs-rtems.h: Use default file system handlers.
  • Property mode set to 100644
File size: 825 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 <errno.h>
19
20#include "imfs.h"
21
22/*
23 *  Set of operations handlers for operations on memfile entities.
24 */
25
26const rtems_filesystem_file_handlers_r IMFS_memfile_handlers = {
27  memfile_open,
28  memfile_close,
29  memfile_read,
30  memfile_write,
31  memfile_ioctl,
32  memfile_lseek,
33  IMFS_stat,
34  IMFS_fchmod,
35  memfile_ftruncate,
36  rtems_filesystem_default_fpathconf,
37  IMFS_fdatasync,      /* fsync */
38  IMFS_fdatasync,
39  rtems_filesystem_default_fcntl,
40  IMFS_rmnod
41};
Note: See TracBrowser for help on using the repository browser.