|
Serene Runtime 1.0.0-dev
C runtime for the Serene programming language
|
#include "serene/utils/srn_mmap.h"#include <sys/mman.h>#include <unistd.h>#include "serene/rt/context.h"#include "serene/rt/errors.h"Go to the source code of this file.
Functions | |
| srn_error_t * | srn_mmap (srn_context_t *ctx, srn_mmap_buffer_t *out, size_t len, int prot, int flags, int fd, off64_t offset) |
| int | srn_munmap (srn_mmap_buffer_t *map) |
| srn_error_t * srn_mmap | ( | srn_context_t * | ctx, |
| srn_mmap_buffer_t * | out, | ||
| size_t | len, | ||
| int | prot, | ||
| int | flags, | ||
| int | fd, | ||
| off64_t | offset ) |
Definition at line 30 of file srn_mmap.c.
| int srn_munmap | ( | srn_mmap_buffer_t * | map | ) |
Definition at line 66 of file srn_mmap.c.