For this chapter, you'll need the GCC compiler, the Make tool, and all the manual pages (dev and POSIX) installed. We covered how to install GCC and Make in Chapter 1, Getting the Necessary Tools and Writing Our First Linux Programs, and the manual pages in Chapter 3, Diving Deep into C in Linux. You will also need the generic Makefile that we created in Chapter 3, Diving Deep into C in Linux. Place that file in the same directory as the code you are writing for this chapter. You'll find a copy of that file—along with all other source code files we will write here—in the GitHub folder for this chapter, at https://github.com/PacktPublishing/Linux-System-Programming-Techniques/tree/master/ch4.
Check out the following link to see the Code in Action video: https://bit.ly/3iE1W17