Zig 0.17.0-dev (Split by item)

This is an example of documentation generated by ZigDoc, an alternative to Zig's built-in Auto Doc feature. See also examples in other modes/formats. The project being documented here (as the example) is the Zig library itself.

destroy

If write is not called before this function, changes to memory may or may not be synchronized to file.

MemoryMap.destroy
pub fn destroy(mm: *MemoryMap, io: Io) void

File

lib/std/Io/File/MemoryMap.zig:72

Code

pub fn destroy(mm: *MemoryMap, io: Io) void {
    io.vtable.fileMemoryMapDestroy(io.userdata, mm);
}