Hello Walter, On 4/26/19 6:50 AM, walter harms wrote:
Hi all, The use of SHM_R SHM_W seems to be common.
I don't think that's true. (But yes, the falgs have been around for a long time.)
I found it in this man page date 1995 https://www.freebsd.org/cgi/man.cgi?query=shmget&sektion=2&apropos=0&manpath=FreeBSD+4.2-RELEASE and in linux/shm.h /* permission flag for shmget */ #define SHM_R 0400 /* or S_IRUGO from <linux/stat.h> */ #define SHM_W 0200 /* or S_IWUGO from <linux/stat.h> */
Yes, but you won't find those flags documented in recent FreeBSD manual pages, for example.
Thanks, Michael