ARRAY_LENGTH
const int nplattab = ARRAY_LENGTH(plattab);
if (type < 0 || type >= ARRAY_LENGTH(netbsd_mount_type))