source: rtems/cpukit/posix/src/msync.c @ 0e16fa45

5
Last change on this file since 0e16fa45 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: 482 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 msync( void *addr, size_t len, int flags )
22{
23  (void) addr;
24  (void) len;
25  (void) flags;
26
27  rtems_set_errno_and_return_minus_one( EINVAL );
28}
Note: See TracBrowser for help on using the repository browser.