Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » GetExeFilePath() in Linux
Re: GetExeFilePath() in Linux [message #6337 is a reply to message #6335] Tue, 07 November 2006 01:53 Go to previous messageGo to previous message
guido is currently offline  guido
Messages: 169
Registered: April 2006
Experienced Member

Yes, that's thoroughly non-portable voodoo - Linux only.

Solaris has /proc too.
There it seems to be /proc/self/object/something

But on further investigation, Sun's Unix Systems had getexecname() since like forever:

http://docs.sun.com/app/docs/doc/816-5168/6mbb3hrbp?a=view

BSDs? No idea! Only thing I know is, they don't have /proc at all, MacOS X included.

Guido
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Double formatting bug?
Next Topic: How to catch keyboard input?
Goto Forum:
  


Current Time: Sat Aug 16 14:53:42 CEST 2025

Total time taken to generate the page: 0.05405 seconds