Re: c question



On 4 Jun 1999 17:15:48 -0400, Fox, Kevin M <KMFox@mail.bhi-erc.com> wrote:
>Is there a function in c to return the path to the current users home
>directory?

If you're using glib (<- gtk+ <- gnome), g_get_home_dir(), otherwise
you'll have to getenv("HOME") or use getpwnam().

-- Elliot
"We're sorry, we didn't know it was supposed to be invisible."
	- Sign carried outside US embassy.



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