summaryrefslogtreecommitdiffstats
path: root/cpukit/posix/src/munmap.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix/src/munmap.c')
-rw-r--r--cpukit/posix/src/munmap.c30
1 files changed, 30 insertions, 0 deletions
diff --git a/cpukit/posix/src/munmap.c b/cpukit/posix/src/munmap.c
new file mode 100644
index 0000000000..3ebb2f4f85
--- /dev/null
+++ b/cpukit/posix/src/munmap.c
@@ -0,0 +1,30 @@
+/**
+ * @file
+ */
+
+/*
+ * COPYRIGHT (c) 2014.
+ * 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.org/license/LICENSE.
+ */
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <sys/mman.h>
+
+void *mmap(
+ void *addr __attribute__((unused)),
+ size_t lenhth __attribute__((unused)),
+ int prot __attribute__((unused)),
+ int flags __attribute__((unused)),
+ int fildes __attribute__((unused)),
+ off_t off
+)
+{
+ return NULL;
+}