In /usr/include/sys/sem.h, the constants SEM_R and SEM_A are surrounded by an #ifdef KERNEL block, making them inaccessible to user code. I'm reading Stevens (_Advanced Programming in the UNIX Environment_). I'm assuming that the SysV IPC examples should work in FreeBSD. Cursory inspection also reveals that SHM_R and SHM_A aren't defined anywhere. PS. Thanks for a great OS! Fix: move constants out of #ifdef block How-To-Repeat: n/a
State Changed From-To: open->closed Suggested fix (plus another one sent in private mail) applied.