From mint-bounce@lists.fishpool.fi Mon Sep 26 19:19:48 2005 X-Original-To: fnaumann@mail.boerde.de Delivered-To: fnaumann@mail.boerde.de From: "Standa Opichal" To: Subject: Re: [MiNT] some gem question Date: Mon, 26 Sep 2005 13:15:11 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <20050926154447.GA16530@hysteria.sk> X-Mimeole: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcXCsgdJpH4dNHBFS9mrUoqB7CEHqwACut0A Message-ID: X-OriginalArrivalTime: 26 Sep 2005 17:15:23.0303 (UTC) FILETIME=[E1374370:01C5C2BD] X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-To: mint-bounce@lists.fishpool.fi X-original-sender: opichals@seznam.cz Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: X-Virus-Scanned: by amavisd-new at relay.boerde.de X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=BAYES_00 X-Spam-Level: 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 ---------------------------------------------------------------------------