[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 2/4] cutils: Add qemu_strtoul() wrapper
From: |
Paolo Bonzini |
Subject: |
Re: [Qemu-devel] [PATCH 2/4] cutils: Add qemu_strtoul() wrapper |
Date: |
Wed, 8 Jul 2015 15:01:47 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0.1 |
On 08/07/2015 03:09, Carlos L. Torres wrote:
> +
> +/**
> + * Converts ASCII string to an unsigned long integer.
> + *
> + * If string contains a negative number, value will be converted to
> + * the unsigned representation of the signed value.
Please document overflow here, as it is slightly different between
strtol and strtoul.
Paolo
> + * See qemu_strtol() documentation for more info.
> + */
- [Qemu-devel] [PATCH 0/4] cutils: Add qemu_strto*l() wrappers, Carlos L. Torres, 2015/07/08
- [Qemu-devel] [PATCH 4/4] cutils: Add qemu_strtoull() wrapper, Carlos L. Torres, 2015/07/08
- [Qemu-devel] [PATCH 3/4] cutils: Add qemu_strtoll() wrapper, Carlos L. Torres, 2015/07/08
- [Qemu-devel] [PATCH 2/4] cutils: Add qemu_strtoul() wrapper, Carlos L. Torres, 2015/07/08
- Re: [Qemu-devel] [PATCH 2/4] cutils: Add qemu_strtoul() wrapper,
Paolo Bonzini <=
- [Qemu-devel] [PATCH 1/4] cutils: Add qemu_strtol() wrapper, Carlos L. Torres, 2015/07/08
- Re: [Qemu-devel] [PATCH 0/4] cutils: Add qemu_strto*l() wrappers, Paolo Bonzini, 2015/07/08