| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
I'm needing to find a way to get the path to where the actual executable file resides using POSIX apis. For example:
foo is located at /usr/bin/foo
when I execute foo, I want it to print /usr/bin/foo no matter what directory I'm in.
I don't want to have to construct it from argv[0] with the cwd.
after looking around, I'm beginning to think that this isn't possible. Any suggestions? please cc me directly.
| References: | |
| >getting path to executing application (From: "tobias ford..." <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.