diff options
Diffstat (limited to 'cpukit/posix/src/mmap.c')
-rw-r--r-- | cpukit/posix/src/mmap.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/cpukit/posix/src/mmap.c b/cpukit/posix/src/mmap.c new file mode 100644 index 0000000000..2798326524 --- /dev/null +++ b/cpukit/posix/src/mmap.c @@ -0,0 +1,26 @@ +/** + * @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> + +int munmap( + void *addr __attribute__((unused)), + size_t length __attribute__((unused)) +) +{ + return -1; +} |