The text 93e1c5745bd8, as FreeBSD 7.1-RELEASE shipped it.
lock a semaphore
sem_timedwait(3) on FreeBSD now