Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void *map1;
- map1 = mmap(0, FILESIZE, PROT_READ, MAP_SHARED, fd, 0);
- ((int*)map1)[1] = 2;
- printf("%d",((int*)map1)[1]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement