Application path



Browsing through glib/gutils.c this morning, I noticed a function called g_get_application_name() which will 
return the application's name (e.g. "my_app" on Linux, or "my_app.exe" on Windows).  Is there any similar 
function that would tell me the full path to the application - e.g. "/usr/bin/my_app/my_app" under Linux, or 
"C:\Program Files\my_app\my_app.exe" under Windows?

John


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