* Use ftok to get shared memory ID.