Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Sep 1998 15:38:01 +1200
From:      Jonathan Chen <jonc@pinnacle.co.nz>
To:        Purrcat <K.Staring@UCI.KUN.NL>
Cc:        questions@FreeBSD.ORG
Subject:   Re: shared mem between parent & child
Message-ID:  <Pine.SGI.4.02.9809291535520.1851-100000@tui.pinnacle.co.nz>
In-Reply-To: <361036B3.FCE6DA8F@uci.kun.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Sep 1998, Purrcat wrote:

> I think I can do this with a shared variable (if
> this kind of thing exists anyway).. If there's no such thing as a
> 'shared variable', could it be done in another way (like stdin and
> stdout or something?)

There's the shmat(2) and friends. You could also do this using pipes
or sockets from parent to children.
--
Jonathan Chen                                       Once is dumb luck.
                                                 Twice is coincidence.
             Three times and Somebody Is Trying To Tell You Something.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SGI.4.02.9809291535520.1851-100000>