dos_close.
is important in the i386 boot blocks (grmumble).
from FreeBSD, and modified use NetBSD's already-existing MS-DOS file system data structure definitions, rather than defining our own.