-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
posix: implement mmap()
#59950
Comments
Hi @ycsin I am a first-time contributor. Can I take a crack at this? |
Hi, please feel free to submit PR for anything |
mmap() can actually get very complicated. It certainly isn't trivial. We can definitely start out simple though. Where should we get the file descriptor? How do we differentiate between real and special files? Some of these things might be tricky and there could be dependencies on other POSIX API calls (e.g. stat?)
|
Thanks. Yes, I think there are a lot of edge cases. I will start off with a simple implementation. |
There are currently 20 missing POSIX functions with trivial implementations,
mmap()
is one of them.See https://pubs.opengroup.org/onlinepubs/9699919799/functions/mmap.html
See RFC #51211 for more info.
The text was updated successfully, but these errors were encountered: