I am not familiar with mapped files, but I have found that there is a MappedFile object in the GLib C library (not glibc!):