-
Notifications
You must be signed in to change notification settings - Fork 693
Introduce mmap_nofd
to work around <F: AsFd>
?
#2126
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
Comments
Alternatively, it can be named as |
For that matter, is |
For anonymous
|
|
Today when I use nix's
mmap
for creating anonymous mappings I have to usemmap::<BorrowedFd>(...)
, which feels... quite awkward. It would be nice to have a variant ofmmap
with the following signature:The
offset
argument has meaning only for file-backed mappings, so we can remove it as well.The text was updated successfully, but these errors were encountered: