From 1ca8ee137e9e7dc815e55cc06ebd2c2c4e2191be Mon Sep 17 00:00:00 2001 From: Gedare Bloom Date: Fri, 12 Aug 2016 11:17:40 -0400 Subject: posix: add stub implementations for mman functions --- cpukit/posix/src/shmunlink.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 cpukit/posix/src/shmunlink.c (limited to 'cpukit/posix/src/shmunlink.c') diff --git a/cpukit/posix/src/shmunlink.c b/cpukit/posix/src/shmunlink.c new file mode 100644 index 0000000000..f5599227b1 --- /dev/null +++ b/cpukit/posix/src/shmunlink.c @@ -0,0 +1,26 @@ +/** + * @file + */ + +/* + * Copyright (c) 2016 Gedare Bloom. + * + * 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 +#include +#include + +int shm_unlink( const char *name ) +{ + (void) name; + + rtems_set_errno_and_return_minus_one( ENOENT ); +} -- cgit v1.2.3