Technical requirements
For this recipe, you'll need a computer with a Linux distribution that uses systemd—which, today, is pretty much every distribution, with some rare exceptions.
You'll also need the GCC compiler and the Make tool. Installation instructions for these tools are covered in Chapter 1, Getting the Necessary Tools and Writing Our First Linux Programs. You'll also need the generic Makefile for this chapter, which is found in this chapter's repository on GitHub, along with all the code samples for this chapter. The URL for this chapter's repository folder on GitHub is https://github.com/PacktPublishing/Linux-System-Programming-Techniques/tree/master/ch7.
Check out the following link to see the Code in Action video: https://bit.ly/3cxmXab