🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: demon.ip.developers
Article #1039

Re: findfirst() / _dos_findfirst()

#1039
From: Tom Wheeley
Date: Wed, 08 May 1996 00:00
23 lines
1361 bytes
In article <831575697snz@wash.demon.co.uk>
           john@wash.demon.co.uk "John Washington" writes:

> And Borland's help file indicates findfirst is only for
> dos and windows.  How does one do the equiv thing in Unix?
> (No, I'm not thinking of porting prune to Unix, just
> curious).

AFAIK,

opendir(), readdir() and closedir() are the appropriate POSIX functions

You also need to use stat() for similar functionality to findfirst.. etc

(Discalimer, this is all hearsay^H^H^H^H^H^H^H from usenet :)

.splitbung
-- 
* TQ 1.0 * The 'Just So Quotes'.
	First Job of Government:  Protect people from govermment.
	Second Job of Government: Protect people from each other
 It must *never* be the job of government to protect people from themselves.
Technical Details
Message-ID: <831598979snz@tsys.demon.co.uk>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <831575697snz@wash.demon.co.uk>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10bb05,eea2e7ecc42db8da
X-Google-Attributes: gid10bb05,public
From: Tom Wheeley <tomw@tsys.demon.co.uk>
Subject: Re: findfirst() / _dos_findfirst()
Date: 1996/05/08
Message-ID: <831598979snz@tsys.demon.co.uk>
X-Deja-AN: 153943865
x-nntp-posting-host: tsys.demon.co.uk
references: <831575697snz@wash.demon.co.uk>
x-sig-by: Tomsystems Quote v1.2.  (c)1996 Tom Wheeley, tomw@tsys.demon.co.uk
x-mail2news-path: tsys.demon.co.uk
organization: City Zen FM
reply-to: tomw@tsys.demon.co.uk
newsgroups: demon.ip.developers