Introduction - If you have any usage issues, please Google them yourself
With the shared memory area where multiple processes of communication program: the program through the shmget () function, create a shared memory area, a string pointer to the starting address of the store, and then fork () to create two sub-processes, through the read and write pointers to the strings to achieve more inter-process communication. Program, using the sleep () function of regulating the various processes on the shared storage area in order to read and write operations.