#include #include #include #include #include #define SIZE 5*sizeof(int) //mmap-3.c int main (void) { pid_t pid; float* ptr_shm; float* ptr_shm1; int i_leggo, i_scrivo; ptr_shm=mmap(0, SIZE, PROT_READ|PROT_WRITE,MAP_ANONYMOUS|MAP_SHARED, -1, 0); ptr_shm1=ptr_shm; for(i_scrivo=0; i_scrivo