Memory mapped files
Memory objects can exist between heap and stack using
mmap system call

void *mmap(void *addr, size_t len, int prot, int flags, int fd, off_t offset);
- Treat a file as if it were memory
- Map the file specified by
fdto the virtual addressadr- Changes are backed up to the file
prot- specifies the protection of region
flagsMAP_SHARED- Modifications seen by everyone
MAP_PRIVATE- Modifications are private
MAP_ANON- Anonymous memory