The text 2018d7cf1797, as FreeBSD 12.2-RELEASE shipped it.
named semaphore operations
sem_close(3) on FreeBSD now