This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Fri, Mar 17, 2006 at 07:51:37AM -0800, Ulrich Drepper wrote: > H. J. Lu wrote: > > Since we are on this topic, sometimes, I want to know the real pathname > > of the program. It isn't easy to find it out. > > Of course it is: readlink() on /proc/self/exe. > It doesn't work before /proc is mounted. H.J.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |