|
il y a 1 an | |
---|---|---|
.. | ||
.gitignore | il y a 1 an | |
LICENSE | il y a 1 an | |
README.md | il y a 1 an | |
go.mod | il y a 1 an | |
go.sum | il y a 1 an | |
mmap.go | il y a 1 an | |
mmap_plan9.go | il y a 1 an | |
mmap_unix.go | il y a 1 an | |
mmap_windows.go | il y a 1 an |
mmap-go is a portable mmap package for the Go programming language.
This package is tested using GitHub Actions on Linux, macOS, and Windows. It should also work on other Unix-like platforms, but hasn't been tested with them. I'm interested to hear about the results.
I haven't been able to add more features without adding significant complexity, so mmap-go doesn't support mprotect
, mincore
, and maybe a few other things. If you're running on a Unix-like platform and need some of these features, I suggest Gustavo Niemeyer's gommap.
This package compiles on Plan 9, but its functions always return errors.