[comp.lang.c] Want source for self-replicating program

grue@caen.engin.umich.edu (Paul Howell) (10/11/90)

I am interested in seeing C source code for programs that make
an exact copy of themselves.  

I would be most grateful to those who could post/send me examples.

Thanks.

---
Paul Howell
grue@caen.engin.umich.edu

flint@gistdev.gist.com (Flint Pellett) (10/14/90)

grue@caen.engin.umich.edu (Paul Howell) writes:

>I am interested in seeing C source code for programs that make
>an exact copy of themselves.  

Look up the fork(2) system call.
-- 
Flint Pellett, Global Information Systems Technology, Inc.
1800 Woodfield Drive, Savoy, IL  61874     (217) 352-1165
uunet!gistdev!flint or flint@gistdev.gist.com