This chapter will continue on from the previous one and will demonstrate the communication between parent and child processes. In particular, the chapter will show you how communication can be managed with the correct usage of exit codes, through custom signal handling and by connecting processes with pipes. These forms of communication will be used to allow our application to communicate effectively with the operating system and other processes.
The following topics will be covered in this chapter:
- Returning exit codes
- Reading exit codes
- Intercepting signals
- Sending signals
- Using pipes
- Using other stream utilities