fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

mmap

io.file.open.mmap

mmap(R:Any,offset i64,size i64,code Function R) => outcome R[src]
install mmap effect an run code

note: the offset must be a multiple of the `os.mmap_offset_multiple` which usually is 4096, windows 65536?
note: offset+size must not exceed size of file

example usage:

Precondition
pre
  safety: offset % os.mmap_offset_multiple = 0
  safety: size > 0

Type Parameters

R:Any[src]

Arguments

offset i64[src]
size i64[src]
code Function R[src]
0.099dev (GIT hash e2d5298d8107bb5fe79600fdb06a49bc75756344)
last changed: 2026-11-23