Re: [gtk-list] newbie question




On Wed, 30 Sep 1998, Luyseyal wrote:
> i'm amidst refreshing my old college C skills via GTK+.
> using: redhat 5.1, glibc 2.0.7
> 
> i've noticed that there is no ultoa or ultostr function
> in stdlib.h. is there a GTK+ workaround for this or do i
> need to do this the hard way?
> 

The comp.lang.c FAQ says to use sprintf for this; the glib superior
alternative is g_snprintf, which solves any portability and buffer
overflow problems.

Havoc




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