Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jul 1996 22:26:52 -0700 (PDT)
From:      Kevin McQuiggin <mcquiggi@sfu.ca>
To:        amnuay@comnet.spu.ac.th (amnuay muthitacharoen)
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Shared varibles between processes
Message-ID:  <199607240526.FAA14144@fraser.sfu.ca>
In-Reply-To: <Pine.AUX.3.91.960724101751.23093A-100000@comnet.spu.ac.th> from "amnuay muthitacharoen" at Jul 24, 96 10:21:07 am

next in thread | previous in thread | raw e-mail | index | archive | help
Hi:

> 	How can I write C program to use varibles that can be shared
> beween processes? 

FreeBSD supports System V shared memory. Allocate a memory block, name 
it, and several processes can refer to it simultaneously.

I suggest an excellent book, "Using C on the UNIX System" from O'Reilly 
and Associates, by David A. Curry.

Hope this helps,

Kevin


-- 
Kevin McQuiggin VE7ZD
mcquiggi@sfu.ca



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607240526.FAA14144>