Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.1 6/24/83; site wateng.UUCP Path: utzoo!watmath!wateng!padpowell From: padpowell@wateng.UUCP (PAD Powell) Newsgroups: net.wanted,net.unix-wizards Subject: Re: Shared Code under UNIX System V Message-ID: <1768@wateng.UUCP> Date: Sat, 15-Dec-84 09:50:20 EST Article-I.D.: wateng.1768 Posted: Sat Dec 15 09:50:20 1984 Date-Received: Sun, 16-Dec-84 02:38:00 EST References: <140@chemabs> Organization: U of Waterloo, Ontario Lines: 10 Xref: watmath net.wanted:5361 net.unix-wizards:11061 There is a very easy way to do dynamic loading under UNIX, using documented features of LD, a.out, etc. However, it depends on knowing the full pathname of the executing program, or being able to guess it in a fairly reliable manner. I have posted code to do this to the net.sources several times. I sure wish that there was a system call that would return the full path name of the text file of a process. Perhaps there is? Any kobolds know of any? Patrick Powell