On 1 July 2016 at 14:08, Rasmus Villemoes wrote:
> A few suggestions:
>
> - Make the function take separate src and dst parameters, making it explicitly
> allowed to pass the same value (but not other kinds of overlap, of
> course). That way one can avoid "strcpy(dst, src); strtolower(dst);".
On Fri, Jul 01 2016, Markus Mayer wrote:
> Add a function called strtolower() to convert strings to lower case
> in-place, overwriting the original string.
>
> This seems to be a recurring requirement in the kernel that is
> currently being solved by several duplicated implementations doing the
>
On Fri, 01 Jul 2016, Markus Mayer wrote:
> On 1 July 2016 at 03:52, Jani Nikula wrote:
>> On Fri, 01 Jul 2016, Markus Mayer wrote:
>>> Add a function called strtolower() to convert strings to lower case
>>> in-place, overwriting the original string.
>>>
>>> This seems to be a recurring requireme
On 1 July 2016 at 03:52, Jani Nikula wrote:
> On Fri, 01 Jul 2016, Markus Mayer wrote:
>> Add a function called strtolower() to convert strings to lower case
>> in-place, overwriting the original string.
>>
>> This seems to be a recurring requirement in the kernel that is
>> currently being solve
On Fri, 01 Jul 2016, Markus Mayer wrote:
> Add a function called strtolower() to convert strings to lower case
> in-place, overwriting the original string.
>
> This seems to be a recurring requirement in the kernel that is
> currently being solved by several duplicated implementations doing the
>
Add a function called strtolower() to convert strings to lower case
in-place, overwriting the original string.
This seems to be a recurring requirement in the kernel that is
currently being solved by several duplicated implementations doing the
same thing.
Signed-off-by: Markus Mayer
---
includ
6 matches
Mail list logo