collection of links to questions i couldn’t answer
perror(...) vs fprintf(stderr, ...): https://stackoverflow.com/questions/40677589/whats-difference-between-perror-and-fprintf-to-stderr
ABI vs API: https://lists.debian.org/debian-user/2004/02/msg00648.html