From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10ad36,4b46c953e1519441 X-Google-Attributes: gid10ad36,public X-Google-Thread: 10650a,4b46c953e1519441 X-Google-Attributes: gid10650a,public X-Google-Thread: 115614,4b46c953e1519441 X-Google-Attributes: gid115614,public X-Google-Thread: fee84,4b46c953e1519441 X-Google-Attributes: gidfee84,public X-Google-Thread: f678f,4b46c953e1519441 X-Google-Attributes: gidf678f,public X-Google-Thread: 11035d,4b46c953e1519441 X-Google-Attributes: gid11035d,public X-Google-Thread: 10c665,4b46c953e1519441 X-Google-Attributes: gid10c665,public X-Google-Thread: fb4a0,4b46c953e1519441 X-Google-Attributes: gidfb4a0,public From: jum@anubis.han.de (Jens-Uwe Mager) Subject: Re: explicit library "load" API/SVR4.x/OSF/BSD.... Date: 1995/04/07 Message-ID: <0E062001.qkdpg1@anubis.han.de>#1/1 X-Deja-AN: 100926006 reply-to: jum@anubis.han.de (Jens-Uwe Mager) newsgroups: comp.unix.aix,comp.unix.bsd,comp.unix.internals,comp.unix.osf.misc,comp.unix.osf.osf1,comp.unix.solaris,comp.unix.sys5.r4,comp.unix.unixware x-mailer: uAccess - Macintosh Release: 1.6v2 In article (comp.unix.aix,comp.unix.bsd,comp.unix.internals,comp.unix.osf.misc,comp.unix.osf.osf1,comp.unix.solaris,comp.unix.sys5.r4,comp.unix.unixware), devil@tpoint.net (The Devil Himself) writes: > I'm looking for an API in SVR4.x, which is the material equivalent to > an AIX feature. Also, similar API's on BSD or OSF/Mach would be helpful. > > AIX has a "load" interface that's the application couterpart to > kernel and STREAM modules' "modload". AIX also has loadable device > drivers, and with AIX 4.1, System V compatible STREAMS modules. But > in the application game, you can load a lib into the address space > with an aix "load" interface > > Someone asked me about the existence of a similar feature in system > V. I've confirmed from two sources that one indeed exists in post svr4.0 > systems, but I haven't foudn the interface. Certainly not in manpages ala > man -k search. The keywords to use here are dynamic linking, this is the common term used nowadays for adding code dynamically to an executing program. Shared libraries should have given a pointer as well. To solve your problem, dlopen() is the name of the routine that loads code in System V, SunOS and OSF/1. ______________________________________________________________________________ Jens-Uwe Mager jum@anubis.han.de 30177 Hannover jum@helios.de Brahmsstr. 3 Tel.: +49 511 660238