help-hurd
[Top][All Lists]
Advanced

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

Alternative to /proc/self/exe


From: Jan Struyf
Subject: Alternative to /proc/self/exe
Date: Tue, 11 Oct 2011 11:15:55 +0200 (CEST)
User-agent: Alpine 2.02 (LFD 1266 2009-07-14)


Dear All,

I'm trying to port a piece of GNU / Linux software to GNU / Hurd. On Linux, there is /proc/self/exe to find the absolute path to the executable that you are running. Is there an alternative to this mechanism on GNU / Hurd? Or should the executable location be determined based on argv[0]?

Thank you very much in advance!

Best Regards,

Jan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]