The text be682b33b43f, as FreeBSD 11.4-RELEASE shipped it.
Reliably open and lock a file
flopen(3) on FreeBSD now