From owner-freebsd-questions Sun Dec 29 15:15:24 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id PAA16719 for questions-outgoing; Sun, 29 Dec 1996 15:15:24 -0800 (PST) Received: from bios-nt.sunbeach.net (SUNBEACH.NET [205.214.199.134]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id PAA16711 for ; Sun, 29 Dec 1996 15:15:12 -0800 (PST) Received: from bios-nt.sunbeach.net by bios-nt.sunbeach.net (NTMail 3.02.11) with ESMTP id da084633 for ; Sun, 29 Dec 1996 19:14:14 -0400 Message-ID: <32C6FBA4.41C67EA6@sunbeach.net> Date: Sun, 29 Dec 1996 19:15:48 -0400 From: Sean Batson X-Mailer: Mozilla 3.0 (X11; I; BSDI BSD/OS 2.1.5-RELEASE i386) MIME-Version: 1.0 To: Wes Peters CC: questions@freebsd.org Subject: Re: IPC API's References: <199612290500.WAA08836@obie.softweyr.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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