Article View: comp.sys.amiga.tech
Article #524Re: What is my name?
From: Louis A. Mamakos
Date: Wed, 19 Jul 1989 01:08
Date: Wed, 19 Jul 1989 01:08
13 lines
1060 bytes
1060 bytes
Just a thought, but doesn't the program that's running have an open I/O stream to the binary that it was loaded from? At least programs with overlays do, so that the overlay manager can load the appropriate segments. Now, given this struct FileHandle * or whatever, maybe you can get a lock. And from there do the normal sorts of things to get the full path name to the binary. Sounds ugly. Louis A. Mamakos WA3YMH Internet: louie@TRANTOR.UMD.EDU University of Maryland, Computer Science Center - Systems Programming
Technical Details
Message-ID:
<3380@haven.umd.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!purdue!haven!trantor.umd.edu!louieReferences:
<26385@agate.BERKELEY.EDU> <7330@ardent.UUCP> <26406@agate.BERKELEY.EDU> <7374@ardent.UUCP>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!gatech!purdue!haven!trantor.umd.edu!louie From: louie@trantor.umd.edu (Louis A. Mamakos) Newsgroups: comp.sys.amiga.tech Subject: Re: What is my name? Message-ID: <3380@haven.umd.edu> Date: 19 Jul 89 01:08:52 GMT References: <26385@agate.BERKELEY.EDU> <7330@ardent.UUCP> <26406@agate.BERKELEY.EDU> <7374@ardent.UUCP> Sender: news@haven.umd.edu Reply-To: louie@trantor.umd.edu (Louis A. Mamakos) Organization: University of Maryland, College Park Lines: 13