Return to BSD News archive
Xref: sserve comp.os.386bsd.development:2776 comp.unix.bsd:15467 Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yarrina.connect.com.au!werple.apana.org.au!otis.apana.org.au!serval.net.wsu.edu!netnews.nwnet.net!oracle.pnl.gov!osi-east2.es.net!cronkite.nersc.gov!dancer.ca.sandia.gov!overload.lbl.gov!lll-winken.llnl.gov!uwm.edu!news.alpha.net!news.mathworks.com!noc.near.net!shore.shore.net!rwwa.com!witr From: witr@rwwa.com (Robert Withrow) Newsgroups: comp.os.386bsd.development,comp.os.386bsd,comp.unix.bsd Subject: How to find the filename of the binary executable... Followup-To: comp.os.386bsd.development Date: 7 Dec 1994 02:08:02 GMT Organization: North Shore Access/Eco Software, Inc; (info@shore.net) Lines: 9 Distribution: world Message-ID: <3c35e2$6sv@shore.shore.net> Reply-To: witr@rwwa.com NNTP-Posting-Host: rwwa.com Can someone tell me how to find the filename of the *binary* file being executed (on, say, FreeBSD 1.1.5.1, or sunos.recent)? P.S.: if your answer is argv[0], you don't understand the question... -- Robert Withrow, Tel: +1 617 598 4480, Fax: +1 617 598 4430 R.W. Withrow Associates, 319 Lynnway, Lynn MA 01901 USA, Net: witr@rwwa.COM