Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SysV IPC on FreeBSD

4 views
Skip to first unread message

Steven J. Choy

unread,
Mar 21, 1995, 3:15:45 PM3/21/95
to
I'm looking for other C-programmers that have tried using freeBSD
implementation of sysV IPC message queues. I am having problems
with the msgrcv call. I am using code that I have been running
successfully on several other UNIX systems for the last 6 six years
(ultrix,sunos,tpix,motorolaUnix) and now trying to port to freeBSD
on a 486/66 platform.

The msgrcv call appears to be overwriting my receive buffer.
My buffer is a local variable (off the stack).
The return value which is suppose to indicate the number of bytes
is returned correctly, but extra bytes off my stack are wiped out
and my buffer is overrun. I'm using version 1.1.5.1.

Is there anyone else out there using the IPC feature on freeBSD?

Steven Choy e-mail st...@msc.arl.mil

0 new messages