Re: sprintf and clists
- From: Ruben I Safir <ruben mrbrklyn com>
- To: Marco Lettere <lettere di unipi it>
- Cc: Sven Neumann <sven gimp org>, gtk-list gnome org
- Subject: Re: sprintf and clists
- Date: Thu, 13 Nov 2003 02:07:26 -0500
I thought CLISTS was a dead widget
On 2002.06.25 04:16 Marco Lettere wrote:
> On 25 Jun 2002, Sven Neumann wrote:
>
> got it. ;-)
> M.
>
> > Hi,
> >
> > Sean Holt <mordist cox net> writes:
> >
> > > gchar buffer[1024];
> > >
> > > sprintf(buffer, "%d", some_dumb_int);
> > > cclist[0] = strdup(buffer);
> >
> > or in one line w/o the risk of buffer overflows:
> >
> > cclist[0] = g_strdup_printf ("%d", some_dumb_int);
> >
> >
> > Salut, Sven
> > _______________________________________________
> > gtk-list mailing list
> > gtk-list gnome org
> > http://mail.gnome.org/mailman/listinfo/gtk-list
> >
>
> ____ _____
> | _ \ ___ ___ _ __| ____|
> | | | |/ __/ _ \| '__| _|
> | |_| | (_| (_) | | | |___
> |____/ \___\___/|_| |_____|
>
>
> _______________________________________________
> gtk-list mailing list
> gtk-list gnome org
> http://mail.gnome.org/mailman/listinfo/gtk-list
>
--
__________________________
Brooklyn Linux Solutions
__________________________
DRM is THEFT - We are the STAKEHOLDERS http://fairuse.nylxs.com
http://www.mrbrklyn.com - Consulting
http://www.inns.net <-- Happy Clients
http://www.nylxs.com - Leadership Development in Free Software
http://www2.mrbrklyn.com/resources - Unpublished Archive or stories and articles from around the net
http://www2.mrbrklyn.com/downtown.html - See the New Downtown Brooklyn....
1-718-382-0585
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]