This repository accompanies %title% by %author% (Apress, %pubyear%).
Download the files as a zip using the green button, or clone the repository to your machine using Git.
Release v1.0 corresponds to the code in the published book, without corrections or updates.
Many of the C examples are compiled
and some are tested
to ensure they're syntactically
and semantically
correct.
A C compiler capable of compiling C23
via the -std=c23
option is required.
The git repository contains only the necessary source code.
Things like configure
are derived sources and
should not be included in repositories.
If you have
autoconf
,
automake
,
and
m4
installed,
you can generate configure
yourself by doing:
./bootstrap
After that:
./configure
If you need to use a compiler
other than the first gcc
found in the PATH
environment variable,
specify it via CC
, e.g.:
./configure CC=clang
Finally, to build the source code for the larger examples:
make
Optionally, you can also run unit tests for the larger examples:
make check
See the file
Contributing.md
for more information
on how you can contribute
to this repository.