The text 85a5c9ce98b6, as FreeBSD 8.1-RELEASE shipped it.
obtain a semaphore id
semget(2) on FreeBSD now