instead of using time(), refer to getitimer to find out how long the
authortedu <tedu@openbsd.org>
Sat, 8 Jul 2017 22:07:39 +0000 (22:07 +0000)
committertedu <tedu@openbsd.org>
Sat, 8 Jul 2017 22:07:39 +0000 (22:07 +0000)
commitc9c0bf19e20ccedb559f044c9eaf7dc4ad6357a7
tree357417d6bc9c24ad559579cb58f7de71aa48e08a
parentc24b2f3d2e4baf148da4d09ab97a3037f16a29d3
instead of using time(), refer to getitimer to find out how long the
timeout is.
from Scott Cheloha
usr.bin/lock/lock.c