Re: General advice on type casting
- From: Olivier <Olve@xxxxxxxxxx>
- Date: Thu, 31 Aug 2006 12:25:27 +0200
Nils O. Selåsdal a écrit :
void message(char *fmt,...)
{
char *texte;
va_list ap;
texte = malloc(256);
if(texte != NULL) {
va_start(ap,fmt);
vsnprintf(gtexte, 256, fmt, ap);
va_end(ap);
Sol_print_infos(texte);
free(texte);
}
}
Wouah :-] Sounds amazing !
Investigating !
Thanks, O.
.
- References:
- General advice on type casting
- From: Olivier
- Re: General advice on type casting
- From: "Nils O. Selåsdal"
- General advice on type casting
- Prev by Date: Re: compiling service ?
- Next by Date: Re: c code reusability
- Previous by thread: Re: General advice on type casting
- Index(es):