[gnome-love] getting the user's home directory





Hi,

    I'm developing a library, and I need to store some files in the user's home
directory.  Idealy, I'd like to make a .hml directory, and just throw the files
under it like

/home/ian
       |---.hml
             |---file0
             |---file1
             |---....
             |---fileN

obviously, this is pretty standard stuff, but I was wondering if there was any
accepted wisdom for getting at the current user's home directory.  I'd like to
only depend on glib.  so i guess, g_get_home_dir is the way to go, right? 
Again, this is a library, not an application.

-Ian



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