Displaying 11 results from an estimated 11 matches for "strlcpytolow".
Did you mean:
strlcpytolower
2016 Jul 13
1
[PATCH v3 0/7] lib: string: add functions to case-convert strings
...; - converting the case of a string in-place (i.e. modifying the
> >> string that was passed in)
> >>
> >> Consequently, I am proposing these new functions:
> >> void strlcpytoupper(char *dst, const char *src, size_t len);
> >> void strlcpytolower(char *dst, const char *src, size_t len);
> >> void strcpytoupper(char *dst, const char *src);
> >> void strcpytolower(char *dst, const char *src);
> >> void strtoupper(char *s);
> >> void strtolower(char *s);
> >
> >
> > Yo...
2016 Jul 09
2
[PATCH v3 1/7] lib: string: add functions to case-convert strings
...ing requirement in the kernel that is currently being
> solved by several duplicated implementations doing the same thing. This
> change aims at reducing this code duplication.
>
> The new functions are
> void strlcpytoupper(char *dst, const char *src, size_t len);
> void strlcpytolower(char *dst, const char *src, size_t len);
> void strcpytoupper(char *dst, const char *src);
> void strcpytolower(char *dst, const char *src);
> void strtoupper(char *s);
> void strtolower(char *s);
>
> The "str[l]cpyto*" versions of the function take a...
2016 Jul 08
6
[PATCH v3 0/7] lib: string: add functions to case-convert strings
...nd converting the case without specifying a
length to mimic strcpy()
- converting the case of a string in-place (i.e. modifying the
string that was passed in)
Consequently, I am proposing these new functions:
void strlcpytoupper(char *dst, const char *src, size_t len);
void strlcpytolower(char *dst, const char *src, size_t len);
void strcpytoupper(char *dst, const char *src);
void strcpytolower(char *dst, const char *src);
void strtoupper(char *s);
void strtolower(char *s);
Several drivers are being modified to make use of the functions above.
Another driver that...
2016 Aug 10
3
[PATCH v5 0/7] lib: string: add functions to case-convert strings
...and converting the case without specifying a
length to mimic strcpy()
- converting the case of a string in-place (i.e. modifying the
string that was passed in)
Consequently, I am proposing these new functions:
int strlcpytoupper(char *dst, const char *src, size_t len);
int strlcpytolower(char *dst, const char *src, size_t len);
void strcpytoupper(char *dst, const char *src);
void strcpytolower(char *dst, const char *src);
void strtoupper(char *s);
void strtolower(char *s);
Several drivers are being modified to make use of the functions above.
Another driver that...
2016 Jul 22
3
[PATCH v4 0/7] lib: string: add functions to case-convert strings
...and converting the case without specifying a
length to mimic strcpy()
- converting the case of a string in-place (i.e. modifying the
string that was passed in)
Consequently, I am proposing these new functions:
int strlcpytoupper(char *dst, const char *src, size_t len);
int strlcpytolower(char *dst, const char *src, size_t len);
void strcpytoupper(char *dst, const char *src);
void strcpytolower(char *dst, const char *src);
void strtoupper(char *s);
void strtolower(char *s);
Several drivers are being modified to make use of the functions above.
Another driver that...
2016 Jul 10
1
[PATCH v3 0/7] lib: string: add functions to case-convert strings
...ng a
> length to mimic strcpy()
> - converting the case of a string in-place (i.e. modifying the
> string that was passed in)
>
> Consequently, I am proposing these new functions:
> void strlcpytoupper(char *dst, const char *src, size_t len);
> void strlcpytolower(char *dst, const char *src, size_t len);
> void strcpytoupper(char *dst, const char *src);
> void strcpytolower(char *dst, const char *src);
> void strtoupper(char *s);
> void strtolower(char *s);
You may want to read the article here:
https://lwn.net/Articles/65...
2016 Jul 08
0
[PATCH v3 1/7] lib: string: add functions to case-convert strings
...it first) seems
to be a recurring requirement in the kernel that is currently being
solved by several duplicated implementations doing the same thing. This
change aims at reducing this code duplication.
The new functions are
void strlcpytoupper(char *dst, const char *src, size_t len);
void strlcpytolower(char *dst, const char *src, size_t len);
void strcpytoupper(char *dst, const char *src);
void strcpytolower(char *dst, const char *src);
void strtoupper(char *s);
void strtolower(char *s);
The "str[l]cpyto*" versions of the function take a destination string
and a sourc...
2016 Jul 09
0
[PATCH v3 1/7] lib: string: add functions to case-convert strings
...kernel that is currently being
>> solved by several duplicated implementations doing the same thing. This
>> change aims at reducing this code duplication.
>>
>> The new functions are
>> void strlcpytoupper(char *dst, const char *src, size_t len);
>> void strlcpytolower(char *dst, const char *src, size_t len);
>> void strcpytoupper(char *dst, const char *src);
>> void strcpytolower(char *dst, const char *src);
>> void strtoupper(char *s);
>> void strtolower(char *s);
>>
>> The "str[l]cpyto*" versions...
2016 Jul 13
0
[PATCH v3 1/7] lib: string: add functions to case-convert strings
...solved by several duplicated implementations doing the same thing. This
>>>> change aims at reducing this code duplication.
>>>>
>>>> The new functions are
>>>> void strlcpytoupper(char *dst, const char *src, size_t len);
>>>> void strlcpytolower(char *dst, const char *src, size_t len);
>>>> void strcpytoupper(char *dst, const char *src);
>>>> void strcpytolower(char *dst, const char *src);
>>>> void strtoupper(char *s);
>>>> void strtolower(char *s);
>>>>
>>...
2016 Jul 11
2
[PATCH v3 1/7] lib: string: add functions to case-convert strings
...being
>>> solved by several duplicated implementations doing the same thing. This
>>> change aims at reducing this code duplication.
>>>
>>> The new functions are
>>> void strlcpytoupper(char *dst, const char *src, size_t len);
>>> void strlcpytolower(char *dst, const char *src, size_t len);
>>> void strcpytoupper(char *dst, const char *src);
>>> void strcpytolower(char *dst, const char *src);
>>> void strtoupper(char *s);
>>> void strtolower(char *s);
>>>
>>> The "str[...
2016 Jul 10
0
[PATCH v3 0/7] lib: string: add functions to case-convert strings
...to mimic strcpy()
>> - converting the case of a string in-place (i.e. modifying the
>> string that was passed in)
>>
>> Consequently, I am proposing these new functions:
>> void strlcpytoupper(char *dst, const char *src, size_t len);
>> void strlcpytolower(char *dst, const char *src, size_t len);
>> void strcpytoupper(char *dst, const char *src);
>> void strcpytolower(char *dst, const char *src);
>> void strtoupper(char *s);
>> void strtolower(char *s);
>
>
> You may want to read the article here...