Re: Convert float to gchar *
- From: Havoc Pennington <hp redhat com>
- To: Gus Koppel <gtk spamkiller bytechase cx>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: Convert float to gchar *
- Date: 13 Oct 2003 11:27:19 -0400
On Sat, 2003-10-11 at 16:07, Gus Koppel wrote:
Not really. snprintf () on an auto (local) buffer (instead of pointer)
variable is probably faster / more direct, uses less system resources
and you don't need to free anything by yourself, thus avoiding a
potential memory leak cause.
You win possible crashes and buffer overflows instead.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]