Vendono trasmessi byte, non int. (E simmetricamente per la read)
codice:
write(fd, (char*)array, dimensione*sizeof(int));