summaryrefslogtreecommitdiff
path: root/api/posix/sys/mman.h
diff options
context:
space:
mode:
authorAda Christine <adachristine18@gmail.com>2025-01-23 00:24:57 +0000
committerAda Christine <adachristine18@gmail.com>2025-01-23 00:24:57 +0000
commitd855c0a219a180497c2e50f9bc19bfce69b937a6 (patch)
tree1ff8523d41b222fb356fb3404d2a53c26a7d6a3d /api/posix/sys/mman.h
parentedd52bd1464ee9ae4f0cdf7ff90a20ca175580fe (diff)
it printfs with the efi interface
Diffstat (limited to 'api/posix/sys/mman.h')
-rw-r--r--api/posix/sys/mman.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/api/posix/sys/mman.h b/api/posix/sys/mman.h
index dde74c0..dd8d6f5 100644
--- a/api/posix/sys/mman.h
+++ b/api/posix/sys/mman.h
@@ -1,5 +1,7 @@
#pragma once
+#define MAP_FAILED ((void *) 1)
+
void *mmap(void *addr, size_t length, int prot, int flags, int fd, off_t offset);
int munmap(void *addr, size_t length);