userspace/libwr: improve atoidef in util.h, add strtoldef
Add strtoldef for reading hex values.
When not enough parameters were given to the program, str was always pointing
to the element outside argv.
Signed-off-by:
Adam Wujek <adam.wujek@cern.ch>
Please register or sign in to comment