Import with #import "std/mapped_file_linux".

MappedFile :: struct { data: *u8; length: u64; valid: bool; }
MapPrivate :: (path: string) -> MappedFile
MappedBytes :: (file: MappedFile) -> []u8
UnmapFile :: (file: MappedFile) -> bool

Source ↗ · All modules