5
Last change
on this file since 1d572eba 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:
459 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 | |
---|
21 | int posix_madvise( void *addr, size_t len, int advice ) |
---|
22 | { |
---|
23 | (void) addr; |
---|
24 | (void) len; |
---|
25 | (void) advice; |
---|
26 | |
---|
27 | return EINVAL; |
---|
28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.