Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!spool.mu.edu!uwm.edu!math.ohio-state.edu!howland.reston.ans.net!pipex!uunet!noc.near.net!shore.shore.net!rwwa.com!witr From: witr@rwwa.com (Robert Withrow) Newsgroups: comp.os.386bsd.development Subject: Re: How to find the filename of the binary executable... Date: 18 Dec 1994 17:38:22 GMT Organization: R.W. Withrow Associates Lines: 11 Message-ID: <3d1s2e$s3@shore.shore.net> References: <3c35e2$6sv@shore.shore.net> <VIXIE.94Dec8182530@gw.home.vix.com> <1994Dec16.231001.15994@physiol.su.OZ.AU> NNTP-Posting-Host: rwwa.com In article <1994Dec16.231001.15994@physiol.su.OZ.AU>, john@physiol.su.OZ.AU (John Mackin) writes: |> In that implementation, a PIOCOPENT ("open text") ioctl() on the /proc |> file returns a read-only file descriptor on the text file the image came |> from. The 4.4 proc filesystem has the <pid>/file entry which is even easier. -- 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