diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-05 21:11:09 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-11-05 21:11:09 +0000 |
commit | 378fe02519f5c083a0a4311fa896063cf85db741 (patch) | |
tree | 5706cb6727c4a52c2e2c56bc46124f91475e49ae /c | |
parent | Unmount was failing as a side-effect of splitting the rmnod handler (diff) | |
download | rtems-378fe02519f5c083a0a4311fa896063cf85db741.tar.bz2 |
New file.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/exec/libfs/src/imfs/imfs_handlers_link.c | 38 | ||||
-rw-r--r-- | c/src/lib/libc/imfs_handlers_link.c | 38 | ||||
-rw-r--r-- | c/src/libfs/src/imfs/imfs_handlers_link.c | 38 |
3 files changed, 114 insertions, 0 deletions
diff --git a/c/src/exec/libfs/src/imfs/imfs_handlers_link.c b/c/src/exec/libfs/src/imfs/imfs_handlers_link.c new file mode 100644 index 0000000000..47a3f7a8f8 --- /dev/null +++ b/c/src/exec/libfs/src/imfs/imfs_handlers_link.c @@ -0,0 +1,38 @@ +/* + * Link Operations Table for the IMFS + * + * 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 <errno.h> + +#include "imfs.h" + +/* + * Handler table for IMFS device nodes + */ + +rtems_filesystem_file_handlers_r IMFS_link_handlers = { + NULL, /* open */ + NULL, /* close */ + NULL, /* read */ + NULL, /* write */ + NULL, /* ioctl */ + NULL, /* lseek */ + NULL, /* stat */ + NULL, /* fchmod */ + NULL, /* ftruncate */ + NULL, /* fpathconf */ + NULL, /* fsync */ + NULL, /* fdatasync */ + NULL, /* fcntl */ + IMFS_rmnod +}; diff --git a/c/src/lib/libc/imfs_handlers_link.c b/c/src/lib/libc/imfs_handlers_link.c new file mode 100644 index 0000000000..47a3f7a8f8 --- /dev/null +++ b/c/src/lib/libc/imfs_handlers_link.c @@ -0,0 +1,38 @@ +/* + * Link Operations Table for the IMFS + * + * 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 <errno.h> + +#include "imfs.h" + +/* + * Handler table for IMFS device nodes + */ + +rtems_filesystem_file_handlers_r IMFS_link_handlers = { + NULL, /* open */ + NULL, /* close */ + NULL, /* read */ + NULL, /* write */ + NULL, /* ioctl */ + NULL, /* lseek */ + NULL, /* stat */ + NULL, /* fchmod */ + NULL, /* ftruncate */ + NULL, /* fpathconf */ + NULL, /* fsync */ + NULL, /* fdatasync */ + NULL, /* fcntl */ + IMFS_rmnod +}; diff --git a/c/src/libfs/src/imfs/imfs_handlers_link.c b/c/src/libfs/src/imfs/imfs_handlers_link.c new file mode 100644 index 0000000000..47a3f7a8f8 --- /dev/null +++ b/c/src/libfs/src/imfs/imfs_handlers_link.c @@ -0,0 +1,38 @@ +/* + * Link Operations Table for the IMFS + * + * 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 <errno.h> + +#include "imfs.h" + +/* + * Handler table for IMFS device nodes + */ + +rtems_filesystem_file_handlers_r IMFS_link_handlers = { + NULL, /* open */ + NULL, /* close */ + NULL, /* read */ + NULL, /* write */ + NULL, /* ioctl */ + NULL, /* lseek */ + NULL, /* stat */ + NULL, /* fchmod */ + NULL, /* ftruncate */ + NULL, /* fpathconf */ + NULL, /* fsync */ + NULL, /* fdatasync */ + NULL, /* fcntl */ + IMFS_rmnod +}; |