Details
gnome_is_program_in_path ()
char* gnome_is_program_in_path (const gchar *program); |
Looks for program in the PATH, if it is found, a g_strduped
string with the full path name is returned.
g_concat_dir_and_file()
#define g_concat_dir_and_file(dir,file) |
g_extension_pointer ()
const char* g_extension_pointer (const char *path); |
gnome_util_prepend_user_home()
#define gnome_util_prepend_user_home(x) |
gnome_util_home_file()
#define gnome_util_home_file(afile) |
gnome_util_user_shell ()
char* gnome_util_user_shell (void); |
gnome_setenv ()
int gnome_setenv (const char *name,
const char *value,
gboolean overwrite); |
Adds "name=value" to the environment
Note that on systems without setenv, this leaks memory
so please do not use inside a loop or anything like that.
semantics are the same as the glibc setenv. The overwrite
flag says that existing name in the environment should be
overwritten.
gnome_unsetenv ()
void gnome_unsetenv (const char *name); |
Removes name from the environment.
In case there is no native implementation of unsetenv,
this could cause leaks depending on the implementation of
enviroment.
gnome_clearenv ()
void gnome_clearenv (void); |
Clears out the environment completely.
In case there is no native implementation of clearenv,
this could cause leaks depending on the implementation
of enviroment.
g_file_exists()
#define g_file_exists(filename) |
g_unix_error_string()
#define g_unix_error_string(error_num) |
gnome_util_user_home()
#define gnome_util_user_home() |
g_copy_vector()
#define g_copy_vector(vec) |
gnome_libdir_file()
#define gnome_libdir_file(f) |
gnome_datadir_file()
#define gnome_datadir_file(f) |
gnome_sound_file()
#define gnome_sound_file(f) |
gnome_pixmap_file()
#define gnome_pixmap_file(f) |
gnome_config_file()
#define gnome_config_file(f) |
gnome_unconditional_libdir_file()
#define gnome_unconditional_libdir_file(f) |
gnome_unconditional_datadir_file()
#define gnome_unconditional_datadir_file(f) |
gnome_unconditional_sound_file()
#define gnome_unconditional_sound_file(f) |
gnome_unconditional_pixmap_file()
#define gnome_unconditional_pixmap_file(f) |
gnome_unconditional_config_file()
#define gnome_unconditional_config_file(f) |