[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Dopendir() return values
> is there anything else in toshyp that man pages are missing? (or vice-
> versa)
I don't know. I look only for Dopendir.
But there is an other problem:
I make a short programm.
-------------------------------cut-------------------------------
void main ( void )
{
long ret;
ret = Dopendir ( "c:\\tes", 0 );
printf ("Ret 1: %li\r\n", ret );
ret = Dopendir ( "c:\\tes", 1 );
printf ("Ret 2: %li\r\n", ret );
}
-------------------------------cut-------------------------------
The directory "tes" is not present. MagiC 6.20 returns EPTHNF (-34)
and FreeMiNT 1.15.12 ENOENT (-33).
While the old manpage wrote also EPTHNF (-34) I think there was a
change some day in FreeMiNT[1]. Like Andreas Schwab says, I think
also that all GEMDOS function should returns GEMDOS error codes and
not a Unix/FreeMiNT one.
Gerhard
[1] At the moment I find not if that realy happens.