g_fprintf() or fprintf() */
see man 3 printf
Is it possible to write to a file using g_print?
g_print() already write to standard output FILE, but you can dup()
standard output to another file.
Regards.
On Wed, Aug 22, 2012 at 6:42 AM, Rudra Banerjee bnrj.ru...@yahoo.com wrote
How I can transfer the filename from open_file to activate_func?
When the activate_func() will be invoked? is it a callback function or
something?. I don't know why and how you implemented that, but you
already retrieved filename in open_file(), if you supposed to call
activate_func() here, you
Is it possible to write to a file using g_print?
I was trying something like:
FILE *fop = g_open(bib2.bib,w);
g_print (%s%s,strcombo,strkey, fop);
but its not working.
Even fprintf is giving warning and not writing.
mkbib.c:114:15: warning: initialization makes pointer from integer
without
On Tue, Aug 21, 2012 at 11:42:53PM +0100, Rudra Banerjee wrote:
Is it possible to write to a file using g_print?
g_print() is not an interface to print things to *a specific
destination*. Quite the opposite.
It sends messages to the print handler. Depending on the print handler
stup, it do
Is it possible to write to a file using g_print?
g_print() already write to standard output FILE, but you can dup()
standard output to another file.
Regards.
On Wed, Aug 22, 2012 at 6:42 AM, Rudra Banerjee bnrj.ru...@yahoo.com wrote:
Is it possible to write to a file using g_print?
I was trying something