delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/17/19:02:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <911C684A29ACD311921800508B7293BA010A8A27@cnmail>
From: Mark Bradshaw <bradshaw AT staff DOT crosswalk DOT com>
To: cygwin AT cygwin DOT com
Subject: Readdir
Date: Tue, 17 Jul 2001 18:28:37 -0400
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

Here's my monthly "I must be an idiot" question.  

I'm looking at the code in the cygwin source for readdir
(/usr/src/cgwin-1.3.2-1/newlib/libc/posix/readdir.c).  It's referencing
members of the DIR structure that I'll be darned if I can find in my
dirent.h file (/usr/include/sys/dirent.h). 

The code is referencing dd_loc, dd_buf, dd_size, and dd_len (among others)
which don't seem to be valid DIR members.  Am I looking at the wrong source
and/or the wrong header?

Mark

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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