source: rtems/c/src/lib/libc/imfs_handlers_memfile.c @ 18c3155

4.104.114.84.95
Last change on this file since 18c3155 was 18c3155, checked in by Jennifer Averett <Jennifer.Averett@…>, on 11/16/99 at 22:45:33

Added handler for fsync. For the memfile it is the same as the data sync.

  • 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  IMFS_fdatasync,      /* fsync */
35  IMFS_fdatasync,
36  IMFS_fcntl,
37  memfile_rmnod
38};
Note: See TracBrowser for help on using the repository browser.