qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Add documentation for STRTOSZ_DEFSUFFIX_ macros


From: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH] Add documentation for STRTOSZ_DEFSUFFIX_ macros
Date: Wed, 26 Jan 2011 12:57:00 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101027 Fedora/3.0.10-1.fc12 Thunderbird/3.0.10

Am 26.01.2011 12:53, schrieb Markus Armbruster:
> address@hidden writes:
> 
>> From: Jes Sorensen <address@hidden>
>>
>> Signed-off-by: Jes Sorensen <address@hidden>
>> ---
>>  qemu-common.h |    7 +++++++
>>  1 files changed, 7 insertions(+), 0 deletions(-)
>>
>> diff --git a/qemu-common.h b/qemu-common.h
>> index c766b99..505e576 100644
>> --- a/qemu-common.h
>> +++ b/qemu-common.h
>> @@ -153,6 +153,13 @@ int qemu_fls(int i);
>>  int qemu_fdatasync(int fd);
>>  int fcntl_setfl(int fd, int flag);
>>  
>> +/*
>> + * strtosz() suffixes used to specify the default treatment of an
>> + * argument passed to strtosz() without an explicit suffix.
>> + * These should be defined using upper case characters in the range
>> + * A-Z, as strtosz() will use qemu_toupper() on the given argument
>> + * prior to comparison.
>> + */
>>  #define STRTOSZ_DEFSUFFIX_TB        'T'
>>  #define STRTOSZ_DEFSUFFIX_GB        'G'
>>  #define STRTOSZ_DEFSUFFIX_MB        'M'
> 
> Thanks, Jes!
> 
> Acked-by: Markus Armbruster <address@hidden>

Thanks, applied to the block branch.

Kevin



reply via email to

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