Hello,
i am trying to write a code that implements shared memory mechanism in IPC. whenever i execute shmat() i get "invalid argument" error.Can someone guide me what is wrong with my code.
(all necessary header files are included).
int main()
{
char *ptr;
int shmid;
key_t key=4488...