As another resource, I just finished up the chapters of The Linux Application Programming Interface [0] that described this.
Highly recommend this book, its filled with fun tidbits of Linux-lore.
[0] https://www.amazon.com/Linux-Programming-Interface-System-Ha...