I'm very confused, my program is supposed control 3 child processes, allowing them to write to/delete from shared memory array and print the results to stdout.
However, for some reason:
-parent exits a few times removing shm and sem (the output shows that),
-child processes print out ALWAYS the same array, consisting of some strange characters, not the uppercase /lowercase alphabetics.
What is going on? I did not sleep a lot last night, please excuse if I'm not thinking clearly...
Can anybody help me here?