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