4.115
Last change
on this file since d88b0b78 was
d88b0b78,
checked in by Daniel Cederman <cederman@…>, on 03/12/15 at 08:04:20
|
posix: Move function to file with matching name
mmap was previously in munmap.c and munmap was in mmap.c.
|
-
Property mode set to
100644
|
File size:
586 bytes
|
Line | |
---|
1 | /** |
---|
2 | * @file |
---|
3 | */ |
---|
4 | |
---|
5 | /* |
---|
6 | * COPYRIGHT (c) 2014. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * |
---|
9 | * The license and distribution terms for this file may be |
---|
10 | * found in the file LICENSE in this distribution or at |
---|
11 | * http://www.rtems.org/license/LICENSE. |
---|
12 | */ |
---|
13 | |
---|
14 | #if HAVE_CONFIG_H |
---|
15 | #include "config.h" |
---|
16 | #endif |
---|
17 | |
---|
18 | #include <sys/mman.h> |
---|
19 | |
---|
20 | void *mmap( |
---|
21 | void *addr __attribute__((unused)), |
---|
22 | size_t lenhth __attribute__((unused)), |
---|
23 | int prot __attribute__((unused)), |
---|
24 | int flags __attribute__((unused)), |
---|
25 | int fildes __attribute__((unused)), |
---|
26 | off_t off |
---|
27 | ) |
---|
28 | { |
---|
29 | return NULL; |
---|
30 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.