From 578a41501456b14f7718e445a57bf121d30b2a8c Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 12 Oct 1999 19:08:55 +0000 Subject: Corrected mistakes in the IMFS file handlers table and added the missing routine imfs_fcntl.c --- cpukit/libfs/src/imfs/imfs.h | 5 +++++ cpukit/libfs/src/imfs/imfs_fcntl.c | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 cpukit/libfs/src/imfs/imfs_fcntl.c (limited to 'cpukit/libfs') diff --git a/cpukit/libfs/src/imfs/imfs.h b/cpukit/libfs/src/imfs/imfs.h index 0421e9e25c..f5ea346b44 100644 --- a/cpukit/libfs/src/imfs/imfs.h +++ b/cpukit/libfs/src/imfs/imfs.h @@ -447,6 +447,11 @@ int IMFS_fdatasync( rtems_libio_t *iop ); +int IMFS_fcntl( + int cmd, + rtems_libio_t *iop +); + #ifdef __cplusplus } #endif diff --git a/cpukit/libfs/src/imfs/imfs_fcntl.c b/cpukit/libfs/src/imfs/imfs_fcntl.c new file mode 100644 index 0000000000..cbbbe1eedb --- /dev/null +++ b/cpukit/libfs/src/imfs/imfs_fcntl.c @@ -0,0 +1,25 @@ +/* + * IMFS_fcntl + * + * The following routine does a fcntl on an IMFS node. + * + * 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_fcntl( + int cmd, + rtems_libio_t *iop +) +{ + return 0; +} -- cgit v1.2.3