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