source: rtems/cpukit/posix/src/munlock.c @ dbb30e26

5
Last change on this file since dbb30e26 was 1ca8ee13, checked in by Gedare Bloom <gedare@…>, on 08/12/16 at 15:17:40

posix: add stub implementations for mman functions

  • Property mode set to 100644
File size: 463 bytes
Line 
1/**
2 * @file
3 */
4
5/*
6 * Copyright (c) 2016 Gedare Bloom.
7 *
8 * The license and distribution terms for this file may be
9 * found in the file LICENSE in this distribution or at
10 * http://www.rtems.org/license/LICENSE.
11 */
12
13#if HAVE_CONFIG_H
14#include "config.h"
15#endif
16
17#include <sys/mman.h>
18#include <errno.h>
19#include <rtems/seterr.h>
20
21int munlock( const void *addr, size_t len )
22{
23  (void) addr;
24  (void) len;
25
26  rtems_set_errno_and_return_minus_one( ENOMEM );
27}
Note: See TracBrowser for help on using the repository browser.