> If the purpose is to minic a unix systemcall, it would make sense that > the return codes match too. Dopendir is a systemcall from unix? For opendir I undestand that. But anyway, I maybe wrong, but when I look to the source from MiNT 0.95 it looks like the Dopendir returns GEMDOS errorcodes. Gerhard