On Fri, Apr 9, 2010 at 5:56 PM, Peter Wehrfritz wrote:
> Gustavo Sverzut Barbieri wrote:
>>
>> Please check the -Wall -Wextra errors! U must check the return of
>> asprintf() variants And then you can use the optimized
>> append/insert that does not need to strlen()
>>
>
> Or you get the size
Gustavo Sverzut Barbieri wrote:
> Please check the -Wall -Wextra errors! U must check the return of
> asprintf() variants And then you can use the optimized
> append/insert that does not need to strlen()
>
Or you get the size first with snprintf(NULL, 0 ...) and than write it
with snprintf
Please check the -Wall -Wextra errors! U must check the return of
asprintf() variants And then you can use the optimized
append/insert that does not need to strlen()
On 4/9/10, Enlightenment SVN wrote:
> Log:
> Adding strbuf printfs
> Author: tiago
> Date: 2010-04-09 08:56:20