[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] some gem question



Hi!

I meant the opendir/readdir/closedir libc calls. I wrote POSIX interface
because
it conforms to it. It is the only way to write crossplatform compatible
code.

STanda

--- Cut ---
$ man opendir | col -b | egrep "(CONFORMING|POSIX)"
CONFORMING TO
       SVID 3, POSIX, BSD 4.3
--- End ---



-----Original Message-----
From: mint-bounce@lists.fishpool.fi [mailto:mint-bounce@lists.fishpool.fi]
On Behalf Of mikro
Sent: Monday, September 26, 2005 11:45 AM
To: mint@fishpool.com
Subject: Re: [MiNT] some gem question


> Dopendir/Dreaddir/Dclosedir or better use the POSIX interface from the 
> MiNTLib. MiNTLib also have the advantage to chck if these system calls 
> are available and automatically fall back to Fsfirst/Fsnext. These 
> system calls are supported by FreeMiNT, MagiC and some MetaDOS 
> variants I think. Under TOS you don't have a filesystem with long 
> files anyway (so Fsfirst/Fsnext are sufficient).
>
you mean that POSIX (opendir & co I guess) interface? Since I've tried that
Dopendir() under TOS and I always get negative directory handle.

-- 

---------------------------------------------------------------------------
MiKRO         Atari XE/XL/Mega STE/Falcon060         http://mikro.atari.org
---------------------------------------------------------------------------