Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 1997 23:22:37 -0600 (MDT)
From:      "Thomas S. Traylor" <ttraylor@titan.mcit.com>
To:        freebsd-bugs@freebsd.org
Subject:   Problems with <sys/msg.h>? (fwd)
Message-ID:  <Pine.OSF.3.96.971023232146.3889A-100000@titan.mcit.com>

next in thread | raw e-mail | index | archive | help

Hey,

While working on some code that uses SV Message Queues, I found that
MSG_R and MSG_W were not defined.  Shouldn't these be defined in
<sys/msg.h>? Shouldn't there be something like this

#define MSG_R   0400    /* read permission */
#define MSG_W   0200    /* write permission */

	or

#define MSG_R   IPC_R    /* read permission */
#define MSG_W   IPC_W    /* write permission */

in <sys/msg.h>?  

SEM_R and SEM_A are defined in <sys/sem.h> and SHM_R and SHM_W are
defined in <sys/shm.h>.  It seems to me that MSG_R and MSG_W are
missing from <sys/msg.h>.

Should a Problem Report be sent for this?

Tom

--
Thomas Traylor
Thomas.Traylor@mci.com
ttraylor@titan.mcit.com
(719) 535-1269






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.96.971023232146.3889A-100000>