summaryrefslogtreecommitdiffstats
path: root/cpukit/libfs/src/defaults
diff options
context:
space:
mode:
authorJennifer Averett <Jennifer.Averett@OARcorp.com>2010-06-30 13:58:56 +0000
committerJennifer Averett <Jennifer.Averett@OARcorp.com>2010-06-30 13:58:56 +0000
commit6683a58d6ec2168e08f25ffa04febab71391371d (patch)
tree30ce93812ea002af9231890b1ef25b8ffc7d4d50 /cpukit/libfs/src/defaults
parent2010-06-30 Joel Sherrill <joel.sherrill@oarcorp.com> (diff)
downloadrtems-6683a58d6ec2168e08f25ffa04febab71391371d.tar.bz2
2010-06-30 Jennifer.Averett <Jennifer.Averett@OARcorp.com>
* libcsupport/include/rtems/libio.h, libfs/Makefile.am: Added filesystem default mknod method. * libfs/src/defaults/default_mknod.c: New file.
Diffstat (limited to 'cpukit/libfs/src/defaults')
-rw-r--r--cpukit/libfs/src/defaults/default_mknod.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/cpukit/libfs/src/defaults/default_mknod.c b/cpukit/libfs/src/defaults/default_mknod.c
new file mode 100644
index 0000000000..fcd03be4c2
--- /dev/null
+++ b/cpukit/libfs/src/defaults/default_mknod.c
@@ -0,0 +1,24 @@
+/*
+ * COPYRIGHT (c) 2010.
+ * On-Line Applications Research Corporation (OAR).
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.com/license/LICENSE.
+ *
+ * $Id$
+ */
+
+#include <rtems/libio.h>
+#include <rtems/libio_.h>
+#include <rtems/seterr.h>
+
+int rtems_filesystem_default_mknod(
+ const char *path, /* IN */
+ mode_t mode, /* IN */
+ dev_t dev, /* IN */
+ rtems_filesystem_location_info_t *pathloc /* IN/OUT */
+)
+{
+ rtems_set_errno_and_return_minus_one( ENOTSUP );
+}