Re: cross platform file/dir utility (linux+windows)

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

 



I was thinking Glib (as well as GIO and GObject) functions do not work on windows, my fault.

Thanks a lot for the reply, cheers,
Giuseppe.


On Thu, Aug 11, 2011 at 21:04, Maarten Bosmans <mkbosmans@xxxxxxxxx> wrote:
2011/8/11 giuspen <giuspen@xxxxxxxxx>:
>
> Hi,
> I'm using C version of GTK and I need to check if files/folders exist, and
> eventually to create a folder.

Google for 'gtk file exists' and look at the first hit. It's a page
from the glib documentation.

> In linux I used <dirent.h> but this library doesn't work on windows.
> Can anyone point me in the right direction?

It would be nice if you searched a bit for yourself before asking for
a pointer, but here you go.
http://developer.gnome.org/glib/stable/glib-File-Utilities.html#g-file-test

Maarten

_______________________________________________
gtk-list mailing list
gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux