Re: g_print vs printf
- From: Havoc Pennington <hp redhat com>
- To: Peter Jay Salzman <p dirac org>
- Cc: gtk-app-devel-list gnome org
- Subject: Re: g_print vs printf
- Date: 20 Jul 2001 11:11:37 -0400
Peter Jay Salzman <p dirac org> writes:
i'm curious why gtk replaced printf with g_print as a printing function.
does it help portability? isn't printf standardized by ANSI?
The only real value to g_print() is that you can use it without
including stdio.h. It's mostly useless.
Oh, also you can g_set_print_handler(), which is useful from time to
time.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]