I'm trying to port a linux app, I believe I'm making great progress except for its use of semctl. The linux version of this only has three args, while OS X's library has 4. Specifically its as follows:
semctl(int semid, int semnum, int cmd, union semun arg)
So the question is, what do I use for the fourth arg?