From owner-freebsd-hackers Fri Jan 9 14:59:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA22421 for hackers-outgoing; Fri, 9 Jan 1998 14:59:03 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA22367 for ; Fri, 9 Jan 1998 14:58:46 -0800 (PST) (envelope-from tlambert@usr04.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id PAA16621; Fri, 9 Jan 1998 15:58:34 -0700 (MST) Received: from usr04.primenet.com(206.165.6.204) via SMTP by smtp03.primenet.com, id smtpd016598; Fri Jan 9 15:58:31 1998 Received: (from tlambert@localhost) by usr04.primenet.com (8.8.5/8.8.5) id PAA00952; Fri, 9 Jan 1998 15:58:28 -0700 (MST) From: Terry Lambert Message-Id: <199801092258.PAA00952@usr04.primenet.com> Subject: Re: Motif question To: dap@damon.com (Damon Anton Permezel) Date: Fri, 9 Jan 1998 22:58:28 +0000 (GMT) Cc: tlambert@primenet.com, hasty@rah.star-gate.com, dap@damon.com, nate@mt.sri.com, freebsd-hackers@FreeBSD.ORG In-Reply-To: <199801082328.RAA20128@damon.com> from "Damon Anton Permezel" at Jan 8, 98 05:28:54 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk > 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-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.