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/mlockall.c | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 cpukit/posix/src/mlockall.c (limited to 'cpukit/posix/src/mlockall.c') diff --git a/cpukit/posix/src/mlockall.c b/cpukit/posix/src/mlockall.c new file mode 100644 index 0000000000..1fd4ed5fa2 --- /dev/null +++ b/cpukit/posix/src/mlockall.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 mlockall( int flags ) +{ + (void) flags; + + rtems_set_errno_and_return_minus_one( EINVAL ); +} -- cgit v1.2.3