Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com From: richardson AT evansville DOT edu Date: Wed, 25 Apr 2001 00:30:22 GMT Message-ID: <20010425.302209@ar63pc.cecs.evansville.edu> Subject: Re: CYGWIN file structure To: James Bergstrom , cygwin AT sources DOT redhat DOT com Reply-To: richardson AT evansville DOT edu In-Reply-To: References: X-Mailer: Mozilla/3.0 (compatible; StarOffice/5.2;Win32) X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id UAA11624 There are a number of Unix/cygwin system routines for reading directory entries (filenames) – opendir, readdir, closedir for example. It sounds as if, for your problem, the scandir routine may be the easiest to use. Get a good book on Unix system programming or refer to the man pages on a Linux box. (The Linux man page re scandir has an example that is particularly helpful.) Good luck! Tony Richardson >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 4/24/2001, 6:40:02 PM, James Bergstrom wrote regarding CYGWIN file structure: > We are writing a driver in CYGWIN to read an image file from a directory > on the hard disk. The files are placed there every few seconds by a > webcam, and they are named "image1.tif", "image2.tif", etc. We know the > directory they are in, and we know that they are named "image[num].tif", > but we are having trouble finding utilities to examine filenames in > cygwin. > Can you help (our senior project is due thursday morning) > -- > Want to unsubscribe from this list? > Check out: http://cygwin.com/ml/#unsubscribe-simple -- Want to unsubscribe from this list? Check out: http://cygwin.com/ml/#unsubscribe-simple