wrappers for old non-POSIX dir* functions in devkitPPC