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