[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: finding datadir from executable
From: |
Andreas Schwab |
Subject: |
Re: finding datadir from executable |
Date: |
Sat, 11 Sep 2004 19:11:46 +0200 |
User-agent: |
Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) |
Ralph Corderoy <address@hidden> writes:
> Does argv[0] always contain a path on all Unixes?
No. It contains exactly the string passed in by execve, unmodified. It
can be arbitrary.
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Re: finding datadir from executable, (continued)
- Re: finding datadir from executable, Bob Friesenhahn, 2004/09/05
- Re: finding datadir from executable, Akim Demaille, 2004/09/06
- Re: finding datadir from executable, Bruce Korb, 2004/09/06
- Re: finding datadir from executable, Daniel Jacobowitz, 2004/09/11
- Re: finding datadir from executable, Bob Friesenhahn, 2004/09/11
- Re: finding datadir from executable, Bruce Korb, 2004/09/11
- Re: finding datadir from executable, Bob Friesenhahn, 2004/09/11
- Re: finding datadir from executable, Alexandre Duret-Lutz, 2004/09/12
- Re: finding datadir from executable, Ralph Corderoy, 2004/09/11
- Re: finding datadir from executable, Bob Friesenhahn, 2004/09/11
- Re: finding datadir from executable,
Andreas Schwab <=
- Re: finding datadir from executable, Ralph Corderoy, 2004/09/11
- Re: finding datadir from executable, Bob Friesenhahn, 2004/09/11
- Re: finding datadir from executable, Andreas Schwab, 2004/09/12