gpiomon: implement custom output formats
authorBartosz Golaszewski <bartekgola@gmail.com>
Thu, 15 Jun 2017 07:23:13 +0000 (09:23 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Mon, 19 Jun 2017 19:24:53 +0000 (21:24 +0200)
commit641c79e33cf4ec7f384828d13b707496be7f9fcd
tree4c1ea83a75271940aeafbe087652d27ac61314ad
parent2a983631b73cd6bc599ec4bc7bfeb672d6126ac8
gpiomon: implement custom output formats

Add a new argument allowing the user to specify the format of the
output string printed on GPIO line events.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/tools/gpiomon.c
tests/tests-gpiomon.c