Re: Creating a file with its folders




On 25 Apr 2011, at 15:35, John Emmas wrote:

Maybe it was my imagination but at one point I'm sure I noticed a glib function for creating a file, 
complete with its folder structure - something like 'g_file_create_with_dirs()' or something similar.  I 
remember thinking "that'll come in handy one day!".  But now that I need it, I can't seem to find it and I 
can't remember what it was called.  Was I dreaming??

It's okay, I remembered... it's called 'g_mkdir_with_parents()'.  It creates a folder tree into which, a file 
can subsequently be created.


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