utils: add lxc_safe_uint()
This function safely parses an unsigned integer. On success it returns 0 and
stores the unsigned integer in @converted. On error it returns a negative
errno.
Signed-off-by:
Christian Brauner <christian.brauner@canonical.com>
Showing
Please
register
or
sign in
to comment