Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.1 6/24/83; site lzmi.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!mhuxj!houxm!hogpc!pegasus!lzmi!adam
From: adam@lzmi.UUCP
Newsgroups: net.lang.c
Subject: Appending to executables.
Message-ID: <261@lzmi.UUCP>
Date: Tue, 16-Oct-84 19:04:34 EDT
Article-I.D.: lzmi.261
Posted: Tue Oct 16 19:04:34 1984
Date-Received: Wed, 17-Oct-84 06:44:06 EDT
References: <>, <404@ncoast.UUCP>
Organization: AT&T Information Systems, Lincroft, NJ
Lines: 8

It is not true that one cannot write a Unix executable to which
additional functions can be appended at runtime. One of the uses of
shared memory, available in System V and V(2), is linking executables at
runtime. All you need to do is define the shared memory, then fork and
exec a process that copies some of its own functions into shared memory
and then goes to sleep.
					Adam Reed
					lzmi!adam