Re: Some new GString functions - constructors



On Tue, 2005-12-20 at 14:36, Paul LeoNerd Evans wrote:
> * g_string_new_lenz() is similar to g_string_new_len(), only it appends
>   a terminating nul byte to the string buffer, making it safe to
>   printf() or use as a normal gchar* string.

GStrings are already guaranteed to have a nul terminating byte, aren't
they?




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