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

4.104.114.84.95
Last change on this file since 624867b was 624867b, checked in by Eric Norum <WENorum@…>, on 02/08/05 at 17:12:54

Add copy-on-write semantics to rtems_tarfs_load().

  • Property mode set to 100644
File size: 803 bytes
RevLine 
[7999174]1/*
2 *  Memfile Operations Tables 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 *  Set of operations handlers for operations on memfile entities.
24 */
25
26rtems_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  NULL,                /* fpathconf */
[18c3155]37  IMFS_fdatasync,      /* fsync */
[7999174]38  IMFS_fdatasync,
[4a07d2b]39  IMFS_fcntl,
[b568ccb]40  memfile_rmnod
[7999174]41};
Note: See TracBrowser for help on using the repository browser.