OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [libfs/] [src/] [imfs/] [imfs_handlers_memfile.c] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1026 ivang
/*
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.OARcorp.com/rtems/license.html.
10
 *
11
 *  imfs_handlers_memfile.c,v 1.8 2001/01/22 14:05:14 joel Exp
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
 
26
rtems_filesystem_file_handlers_r IMFS_linearfile_handlers = {
27
  memfile_open,
28
  memfile_close,
29
  memfile_read,
30
  NULL,                /* write */
31
  memfile_ioctl,
32
  memfile_lseek,
33
  IMFS_stat,
34
  IMFS_fchmod,
35
  NULL,                /* ftruncate */
36
  NULL,                /* fpathconf */
37
  IMFS_fdatasync,      /* fsync */
38
  IMFS_fdatasync,
39
  IMFS_fcntl,
40
  memfile_rmnod
41
};
42
 
43
rtems_filesystem_file_handlers_r IMFS_memfile_handlers = {
44
  memfile_open,
45
  memfile_close,
46
  memfile_read,
47
  memfile_write,
48
  memfile_ioctl,
49
  memfile_lseek,
50
  IMFS_stat,
51
  IMFS_fchmod,
52
  memfile_ftruncate,
53
  NULL,                /* fpathconf */
54
  IMFS_fdatasync,      /* fsync */
55
  IMFS_fdatasync,
56
  IMFS_fcntl,
57
  memfile_rmnod
58
};

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.