Re: [off-topic] Loadable modules
Edward S. Marshall (emarshal@common.net)
Sun, 1 Jun 1997 13:46:52 -0500 (CDT)
On Sun, 1 Jun 1997, Brian Candler wrote:
> The kernel has the ability to dynamically load and run object files (xxx.o)
> and I want to know if this is possible from normal "userland" programs.
>
> e.g. let's say I have a bunch of object files in a directory. I want to
> write a C program which loads them all in, perhaps malloc's stack and BSS
> space for them, and runs them. Is this possible?
"man dlopen". :-)
--
.-----------------------------------------------------------------------------.
| Edward S. Marshall <emarshal@common.net> | CII Technical Administrator, |
| http://www.common.net/~emarshal/ | Vice-President, Common Internet |
| Finger for PGP public key. | Inc, and Linux & LPmud (ab)user. |
`-----------------------------------------------------------------------------'