Re: Basic Question (of execv)



El jue, 24-10-2002 a las 20:38, Janus N. Tøndering escribió:
You should probably use something like this (which is portable):

GError *error;
GIOChannel *file;
file = g_io_channel_new_file("filename", "w", &error);
g_io_channel_close(file);

AFAIK, if you will not check for errors, try with NULL 
instead &error.

-- 
German Poo Caaman~o
mailto:gpoo ubiobio cl
http://www.ubiobio.cl/~gpoo/chilelindo.html
"Hay 10 tipos de personas: las que entienden binario y las que no."




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