From owner-freebsd-hackers Fri Jan 9 15:44:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA27246 for hackers-outgoing; Fri, 9 Jan 1998 15:44:54 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from damon.com (root@damon.com [207.170.114.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA27220 for ; Fri, 9 Jan 1998 15:44:36 -0800 (PST) (envelope-from dap@damon.com) Received: (from dap@localhost) by damon.com (8.8.3/8.8.3) id RAA25165; Fri, 9 Jan 1998 17:44:14 -0600 (CST) From: Damon Anton Permezel Message-Id: <199801092344.RAA25165@damon.com> Subject: Re: Motif question To: tlambert@primenet.com (Terry Lambert) Date: Fri, 9 Jan 1998 17:44:14 -0600 (CST) Cc: dap@damon.com, tlambert@primenet.com, hasty@rah.star-gate.com, nate@mt.sri.com, freebsd-hackers@FreeBSD.ORG In-Reply-To: <199801092258.PAA00952@usr04.primenet.com> from Terry Lambert at "Jan 9, 98 10:58:28 pm" X-Mailer: ELM [version 2.4ME+ PL22 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk "Terry Lambert sez: " > > In general, this is true, but it also appears that, if the address passed in > > is within the exec image, it returns the path to the exec image. > > Thats what I was rambling about. > > The argv[0]. See the ouput from my test program run on a Solaris box > for details. 8-). > Yes, and please provide the output of the programme when the prog is found from your $PATH.