From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60807) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCoz7-0003iX-5T for qemu-devel@nongnu.org; Wed, 08 Jul 2015 09:01:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCoz1-0003f4-D5 for qemu-devel@nongnu.org; Wed, 08 Jul 2015 09:01:57 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52100) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCoz1-0003eu-8K for qemu-devel@nongnu.org; Wed, 08 Jul 2015 09:01:51 -0400 References: From: Paolo Bonzini Message-ID: <559D1F3B.5070407@redhat.com> Date: Wed, 8 Jul 2015 15:01:47 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 2/4] cutils: Add qemu_strtoul() wrapper List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Carlos L. Torres" , qemu-devel@nongnu.org Cc: stefanha@redhat.com 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. > + */