Maps the whole file name for reading and returns ok; an empty file succeeds with empty data. Give the result to
munmap_file. A failure is logged through context.logger when log_errors is true, and nothing needs releasing then.
map_file :: (name: string, log_errors := false) -> (File_Map_Info, bool)
Parameters
- name: string
- log_errors := false
Returns
- bool