summaryrefslogtreecommitdiff
path: root/cpukit/posix/src/msync.c
blob: fa84083c90648b69dcb506d1fc045073a0074a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/**
 * @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 <sys/mman.h>
#include <errno.h>
#include <rtems/seterr.h>

int msync( void *addr, size_t len, int flags )
{
  (void) addr;
  (void) len;
  (void) flags;

  rtems_set_errno_and_return_minus_one( EINVAL );
}