Re: sprintf and clists

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

 



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@xxxxxxx> 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@xxxxxxxxx
> > http://mail.gnome.org/mailman/listinfo/gtk-list
> >
> 
>  ____                 _____
> |  _ \  ___ ___  _ __| ____|
> | | | |/ __/ _ \| '__|  _|
> | |_| | (_| (_) | |  | |___
> |____/ \___\___/|_|  |_____|
> 
> 
> _______________________________________________
> 
> gtk-list@xxxxxxxxx
> 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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux