shl: add shl_strtou() helper
authorDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 30 Sep 2012 16:57:40 +0000 (18:57 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Sun, 30 Sep 2012 16:57:40 +0000 (18:57 +0200)
commitc95bcdf22b1bab43b1b964b0ee0b2cea7c1c9554
tree58994e058c08c266ee20a0f4303316e5bdb87c92
parent32faedbfb446fe9b9b0ad58f1c312bb2097052b2
shl: add shl_strtou() helper

The standard C/POSIX helpers are really ugly to use. This small helper
returns 0 on success, otherwise an error.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Makefile.am
src/shl_misc.h [new file with mode: 0644]