Re: Porting question: cygwin equivalent of Linux getdirentries()?

2004-09-24 Thread david moloney
Whoops ... forgot the code. - D. david moloney wrote: I have a piece of Linux code I'm trying to port to cygwin which uses sgtty.h (ioctl) and dirent.h (getdirentries) functions which are not present in cygwin. Also endian.h was missing but I copied it over from RedHat and that seems to

Porting question: cygwin equivalent of Linux getdirentries()?

2004-09-24 Thread david moloney
I have a piece of Linux code I'm trying to port to cygwin which uses sgtty.h (ioctl) and dirent.h (getdirentries) functions which are not present in cygwin. Also endian.h was missing but I copied it over from RedHat and that seems to work. I got round the sgetty problems by using #ifdef __CYG