Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 1998 13:39:26 -0700
From:      Nate Williams <nate@mt.sri.com>
To:        Amancio Hasty <hasty@rah.star-gate.com>
Cc:        John Polstra <jdp@polstra.com>, hackers@FreeBSD.ORG
Subject:   Re: dladdr hax 
Message-ID:  <199801182039.NAA00912@mt.sri.com>
In-Reply-To: <199801181942.LAA19375@rah.star-gate.com>
References:  <199801181724.JAA13957@austin.polstra.com> <199801181942.LAA19375@rah.star-gate.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> So whats wrong with just simply calling getwcd in the main of the
> program?

Because that gives you the cwd of the *calling* process, not the
location of the executable.


Nate



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801182039.NAA00912>