Simple C command line tool for polling gpios