[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ipc under openbsd
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: ipc under openbsd
- From: "Alexander Farber (EED)" <eedalf_(_at_)_eed_(_dot_)_ericsson_(_dot_)_se>
- Date: Mon, 09 Jul 2001 11:30:43 +0200
Nicholas Janzen wrote:
> this is more of a general programming issue, but i was hoping someone on
> this list might be able to point me in the correct direction.
> I need to use inter process comm because i have forked a process using
> fork(), and i need to share an array of integers with both the child and
> the parrent.
> I have looked into shared memory and shmget in the man pages but this
> doesn't show how to allocate an array of integers.
> Does anyone know how to do this, or is there a better way?
Try http://www.engelschall.com/sw/mm/ it has some
strange code though (handling SysV semaphores)...
Visit your host, monkey.org