freebsd: fix std.c.getdents

- fix getdents return type usize → isize
- usize ultimately forced errors to .SUCCESS in std.c.getError

New behavior in freebsd 13.2 is to return ENOENT if the directory being
iterated is deleted during iteration. We now detect this and treat it
consistent with iteration ending.
64ddba955aMichael Dusan committed on 6/15/2023, 6:48:19 PMparent1253d59
2 files changedLine totals unavailable