Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 1996 19:15:48 -0400
From:      Sean Batson <seanb012@sunbeach.net>
To:        Wes Peters <softweyr@xmission.com>
Cc:        questions@freebsd.org
Subject:   Re: IPC API's
Message-ID:  <32C6FBA4.41C67EA6@sunbeach.net>
References:  <Pine.BSF.3.95.961227185407.1195A-100000@bsdi.net> <199612290500.WAA08836@obie.softweyr.com>

next in thread | previous in thread | raw e-mail | index | archive | help
So why when I do a man msgrcv, msgget and a msgsnd the manuals don't
seem exist?


Wes Peters wrote:
> 
> Sean Batson writes:
>  > How do I go about coding for IPC applications?
>  > Where online can I find the APIs to do such a
>  > task. Under AIX I know the routines are msgsnd,
>  > msgrcv and msgget.
> 
> Got those same routines right here in FreeBSD.  Be sure to include the
> following in your kernel configuration if you want them to work:
> 
> options         SYSVSHM
> options         SYSVSEM
> options         SYSVMSG
> 
> Technically, you only need the first and the last, but why not get
> semaphores while you're at it?
> 
> Has anyone out there ever wrapped a class around these so they're a
> little more usable?  The SYSV IPC mechanisms are pretty powerful, but
> the semaphores and message queues have an *awful* interface.
> 
> Hmmm... a nice little weekend (or two) project in C++ class
> construction.  Any takers?  (I.e. I don't want to do it myself; call
> me lazy.)
> 
> --
>           "Where am I, and what am I doing in this handbasket?"
> 
> Wes Peters                                                       Softweyr LLC
> http://www.xmission.com/~softweyr                       softweyr@xmission.com



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32C6FBA4.41C67EA6>