DJGPP has opendir() and friends, according to Gisle Vanem <giva@bgnett.no>.