qemu-devel
[Top][All Lists]
Advanced

[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.
> + */



reply via email to

[Prev in Thread] Current Thread [Next in Thread]