Rev 1547 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1547 | Rev 1653 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
- | 29 | /** @addtogroup libc |
|
- | 30 | * @{ |
|
- | 31 | */ |
|
- | 32 | /** @file |
|
- | 33 | */ |
|
- | 34 | ||
29 | #include <sys/mman.h> |
35 | #include <sys/mman.h> |
30 | #include <as.h> |
36 | #include <as.h> |
31 | #include <unistd.h> |
37 | #include <unistd.h> |
32 | 38 | ||
33 | void *mmap(void *start, size_t length, int prot, int flags, int fd, |
39 | void *mmap(void *start, size_t length, int prot, int flags, int fd, |
Line 48... | Line 54... | ||
48 | 54 | ||
49 | int munmap(void *start, size_t length) |
55 | int munmap(void *start, size_t length) |
50 | { |
56 | { |
51 | return as_area_destroy(start); |
57 | return as_area_destroy(start); |
52 | } |
58 | } |
- | 59 | ||
- | 60 | ||
- | 61 | /** @} |
|
- | 62 | */ |
|
- | 63 | ||
- | 64 |