get_homedir


Description:


public unowned string get_homedir ()

Similar to get_home_dir in functionality but will never return NULL.

While get_home_dir may return NULL under certain circumstances, this function is garantied to never ever return NULL, but always return a valid character pointer with the absolute path to the user's home directory.

The returned string is owned by libxfce4util and must not be freed by the caller.

Returns:

the path to the current user's home directory.


Namespace: Xfce