I don't know why, but Solaris 2.6 doesn't like how I use semctl(). Help?