shmat pointers with arrays of structures and another unrelated variable
Basically – I want to put a singular int
, and an array of the following structures:
`shmget` Invalid argument error — is memory still allocated from a previous execution?
I have the following program to exercise using forks and shared memory.