Re: Basic Question (of execv)
- From: Pablo Fischer <exilion yifan net>
- Cc: GTK Application Developement List <gtk-app-devel-list gnome org>
- Subject: Re: Basic Question (of execv)
- Date: 24 Oct 2002 18:50:14 -0500
The 'G' from Gerror its of Gtk or Gnome?
Paul
El jue, 24-10-2002 a las 18: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);
Janus
On Fri, 2002-10-25 at 01:17, Pablo Fischer wrote:
Hi;
It maybe sound stupid.. but I dont know how to 'create a file', for
example, after clicking the button, a file needs to be created (I know
how to create the signal_function).
I would like to create the file with: touch, I have something like:
void Agenda_crear(GtkWidget *objeto, gpointer data) {
g_print("Creando la agenda");
execlp("touch /home/unmada/test.pfs",NULL);
}
But no new file its created!
Thanks.
Paul Fischer
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]