To install this:
apt install gpiod libgpiod-dev libgpiod-doc
Look for info in /usr/include/gpiod.h
#include <gpiod.h> in source
add -lgpiod to the linker invocations