build docs
src: rename interface.* -> printf.*
db: use asprintf instead of sprintf
cmake: use -std=gnu99
db: fix typo
src: clean-up
safely: use sigaction() instead of signal()