and a little simpler, too
This makes creation of a test suite for time parsing easier.
add helper function to convert struct to seconds
Worst case scenario, we multiply 10 * 0.
always exit from help, which now exits with success if called via an option, but with failure if called because a bad parse.
In addition, use stdlib.h constants
- use GNU getopt_long - break out time parsing to separate functions
This is an extern included by errno.h. As errno(3) warns, this is not a good idea.
- allow user specified CFLAGS/LDFLAGS - allow overriding suspend command - allow overriding installation dirs - remove unneeded conversion rules