diff options
| author | Ada Christine <adachristine18@gmail.com> | 2024-02-25 11:43:56 +0000 |
|---|---|---|
| committer | Ada Christine <adachristine18@gmail.com> | 2024-02-25 11:43:56 +0000 |
| commit | 263477e4e87c67ff85e92e5d976e11994ac9850d (patch) | |
| tree | 5d23fb3ef44ccc4828e14486a12eafd216a0059b /api/posix/sys | |
| parent | b9182f29708211d25a232def144d25e80f6d13cb (diff) | |
mmap and munmap
Diffstat (limited to 'api/posix/sys')
| -rw-r--r-- | api/posix/sys/mman.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/api/posix/sys/mman.h b/api/posix/sys/mman.h new file mode 100644 index 0000000..dde74c0 --- /dev/null +++ b/api/posix/sys/mman.h @@ -0,0 +1,5 @@ +#pragma once + +void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset); +int munmap(void *addr, size_t length); + |
