[Top][All Lists]

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

Re: [PATCH] gnokii gtk2 port

From: BORBELY Zoltan
Subject: Re: [PATCH] gnokii gtk2 port
Date: Wed, 3 Aug 2005 21:45:56 +0200
User-agent: Mutt/


On Wed, Aug 03, 2005 at 11:44:44AM +0100, Bastien Nocera wrote:
> On Tue, 2005-08-02 at 21:41 +0200, Pawel Kot wrote:
> > 2005/8/2, BORBELY Zoltan <address@hidden>:
> > > If there's no asprintf() or vasprintf() implementation, the snprintf
> > > code provides them (look into common/snprintf.c). I think asprintf()
> > > is the function you are looking for... :-)
> > 
> > Bastien, is it enough for you?
> snprintf still sucks in that you need a fixed-sized array to fit your
> string, and that you're never sure whether you'll be able to fit the
> whole string in it before actually doing it.

You can assume that asprintf() function is available (if the OS doesn't
provide one, gnokii will use the internal replacement function). Please
look into it, I think asprintf() is quite similar to g_strdup_printf().


reply via email to

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