Re: something like system function

Hi frederico,
                  I suggest you should read about system calls available in C. Visit for getting current working directory (pwd). Also visit

for the rest of calls.


Chandra Shekhar.

On Thu, May 14, 2009 at 9:17 PM, frederico schardong <frede sch gmail com> wrote:

I need something like function system of stdlib.h, but I need to get
the output of the command... example:
gchar *returned;

returned = system("pwd");

and returned must be the folder of the program...

Gtk, or glib have something like that?

Frederico Schardong,
SOLIS - O lado livre da tecnologia
gtk-list mailing list
gtk-list gnome org

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