source: rtems/c/src/lib/libc/imfs_handlers_memfile.c @ 458bd34

4.104.114.84.95
Last change on this file since 458bd34 was b568ccb, checked in by Joel Sherrill <joel.sherrill@…>, on 11/02/99 at 20:20:13

The object memfile.o was being included in the miniIMFS even though it
should not have been. This required that IMFS_rmnod be split into
three separate (per file type) routines to avoid dependencies.
In the end, a miniIMFS application is 6K smaller than one using the
full IMFS.

  • Property mode set to 100644
File size: 811 bytes
Line 
1/*
2 *  Memfile Operations Tables for the IMFS
3 *
4 *  COPYRIGHT (c) 1989-1998.
5 *  On-Line Applications Research Corporation (OAR).
6 *  Copyright assigned to U.S. Government, 1994.
7 *
8 *  The license and distribution terms for this file may be
9 *  found in the file LICENSE in this distribution or at
10 *  http://www.OARcorp.com/rtems/license.html.
11 *
12 *  $Id$
13 */
14
15#include <errno.h>
16
17#include "imfs.h"
18
19/*
20 *  Set of operations handlers for operations on memfile entities.
21 */
22
23rtems_filesystem_file_handlers_r IMFS_memfile_handlers = {
24  memfile_open,
25  memfile_close,
26  memfile_read,
27  memfile_write,
28  memfile_ioctl,
29  memfile_lseek,
30  IMFS_stat,
31  IMFS_fchmod,
32  memfile_ftruncate,
33  NULL,                /* fpathconf */
34  NULL,                /* fsync */
35  IMFS_fdatasync,
36  IMFS_fcntl,
37  memfile_rmnod
38};
Note: See TracBrowser for help on using the repository browser.