Method System.Memory()->mmap_private()
- Method
mmap
Method mmap_private
int
mmap(string
|Stdio.File
file
)
int
mmap(string
|Stdio.File
file
,int
offset
,int
size
)
int
mmap_private(string
|Stdio.File
file
)
int
mmap_private(string
|Stdio.File
file
,int
offset
,int
size
)- Description
mmap a file. This will always try to mmap the file in PROT_READ|PROT_WRITE, readable and writable, but if it fails it will try once more in PROT_READ only.