util: Add two wrapper for string to int conversion
commitcef18c2dfd60be372eee10cbcefd5849ae979d31
authorSwen Schillig <swen@linux.ibm.com>
Mon, 28 Jan 2019 08:42:13 +0000 (28 09:42 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 1 Mar 2019 00:32:09 +0000 (1 00:32 +0000)
tree5b5105192379245d23c8a0adfe060894fbd2ae43
parent5cf0764bc4b65dbc59d8626760dbe946a2234833
util: Add two wrapper for string to int conversion

Adding wrapper strtoull_err and strtoul_err to handle
error conditions of the conversion process.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/util/util.c
lib/util/util.h