diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2017-12-22 12:46:23 +0000 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2018-03-13 18:06:05 +0000 |
commit | 473a2a331ee382703f7ca0067ba2545350cfa06c (patch) | |
tree | 4c1eef0279b4a65ff55c20ec0b39d6c09fc8aefa /util/memfd.c | |
parent | 63bab2b69688dee0ddadff7449143830e59567cd (diff) | |
download | qemu-473a2a331ee382703f7ca0067ba2545350cfa06c.zip qemu-473a2a331ee382703f7ca0067ba2545350cfa06c.tar.gz qemu-473a2a331ee382703f7ca0067ba2545350cfa06c.tar.bz2 |
cutils: add qemu_strtoi & qemu_strtoui parsers for int/unsigned int types
There are qemu_strtoNN functions for various sized integers. This adds two
more for plain int & unsigned int types, with suitable range checking.
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'util/memfd.c')
0 files changed, 0 insertions, 0 deletions