Table of Contents
Preface
Chapter 1: Getting the Necessary Tools and Writing Our First Linux Programs
Technical requirements
Installing Git to download the code repository
Installing GCC and GNU Make
Getting ready
How to do it…
How it works…
Installing GDB and Valgrind
Getting ready
How to do it…
How it works…
Writing a simple C program for Linux
Getting ready
How to do it…
How it works…
There's more…
Writing a program that parses command-line options
Getting ready
How to do it…
How it works…
Looking up information in the built-in manual page
Getting ready
How to do it…
How it works…
There's more…
Searching the manual for information
Getting ready
How to do it…
How it works…
There's more…
Chapter 2: Making Your Programs Easy to Script
Technical ...
Get Linux System Programming Techniques now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.