From a4e2f08c2539aac7fdc54a7d36cd044d88999542 Mon Sep 17 00:00:00 2001 From: Jennifer Averett Date: Thu, 3 Dec 1998 22:19:06 +0000 Subject: Added imfs_fdatasync routine that gets called from both fdatasync and datasync. --- c/src/exec/libfs/src/imfs/imfs_fdatasync.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 c/src/exec/libfs/src/imfs/imfs_fdatasync.c (limited to 'c/src/exec/libfs/src') diff --git a/c/src/exec/libfs/src/imfs/imfs_fdatasync.c b/c/src/exec/libfs/src/imfs/imfs_fdatasync.c new file mode 100644 index 0000000000..280ffb223c --- /dev/null +++ b/c/src/exec/libfs/src/imfs/imfs_fdatasync.c @@ -0,0 +1,26 @@ +/* + * IMFS_fdatasync + * + * The following routine does a sync on an IMFS node. The In Memory + * File System is always in sync, therefore this routine always returns + * pass. + * + * COPYRIGHT (c) 1989-1998. + * On-Line Applications Research Corporation (OAR). + * Copyright assigned to U.S. Government, 1994. + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.OARcorp.com/rtems/license.html. + * + * $Id$ + */ + +#include "imfs.h" + +int IMFS_fdatasync( + rtems_libio_t *iop +) +{ + return 0; +} -- cgit v1.2.3