www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/12/16:31:43

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Portable way to examine a directory?
Date: Sun, 12 Jul 1998 13:03:25 -0700
Organization: Alcyone Systems
Lines: 17
Message-ID: <35A9168D.5DE0416C@alcyone.com>
References: <HZwMmCA8w5p1Ew0U AT lwithers DOT demon DOT co DOT uk> <6oatvq$ck$1 AT news DOT luth DOT se>
NNTP-Posting-Host: charmaine.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Martin Str|mberg wrote:

> I don't think so:
> nietzsche:~> man -k findfirst
> findfirst: nothing appropriate.

No, they won't.  findfirst and findnext are DOS-specific.

His best bet is opendir/readdir/closedir, which is POSIX-compliant.

-- 
         Erik Max Francis, &tSftDotIotE / mailto:max AT alcyone DOT com
                       Alcyone Systems / http://www.alcyone.com/max/
  San Jose, California, United States / icbm:+37.20.07/-121.53.38
                                     \
           I put away my nine, fool / 'cause I'm colorblind.
                                   / Ice Cube

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019