5
Last change
on this file since e7eeb38d was
e7eeb38d,
checked in by Gedare Bloom <gedare@…>, on 07/29/16 at 19:28:49
|
posix: move sys/mman.h to newlib and test it in psxhdrs
|
-
Property mode set to
100644
|
File size:
486 bytes
|
Line | |
---|
1 | /* |
---|
2 | * Copyright (c) 2016 Gedare Bloom. |
---|
3 | * |
---|
4 | * The license and distribution terms for this file may be |
---|
5 | * found in the file LICENSE in this distribution or at |
---|
6 | * http://www.rtems.org/license/LICENSE. |
---|
7 | */ |
---|
8 | |
---|
9 | /* This test file is used to verify that the header files associated with |
---|
10 | * invoking this function are correct. |
---|
11 | */ |
---|
12 | |
---|
13 | |
---|
14 | #ifdef HAVE_CONFIG_H |
---|
15 | #include "config.h" |
---|
16 | #endif |
---|
17 | |
---|
18 | #include <sys/mman.h> |
---|
19 | |
---|
20 | int test( void ); |
---|
21 | |
---|
22 | int test( void ) |
---|
23 | { |
---|
24 | int flags = 0; |
---|
25 | |
---|
26 | return mlockall( flags ); |
---|
27 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.