|
From: Georg F. <fu...@is...> - 2001-03-06 14:08:38
|
There is a file 'stat.h' in <basis>/include/sys. David Myers wrote: > > I have a program I'm developing in Linix that /mostly/ is standard C++ > with the following exceptions: > > 1. The use of stat() to determine if files or directories exist, before > opening > them. > > 2. the getopt function from unistd. > > I've seen getopt code in the archives, I've seen libibary mentioned as > having > a getopt, but I've not seen or found the headers for libibary. > > Where would I find a stat() equivalent, where is it documented, how > might I > use it? > > If possible, I want a single piece of code that compiles on either > Unix(Linux) > or W32/mingw and is functionally equivalent. Thanks in advance. > > David. > > _______________________________________________ > MinGW-users mailing list > Min...@li... > > You may change your MinGW Account Options at: > http://lists.sourceforge.net/lists/listinfo/mingw-users -- Georg Fusz Technische Universitaet Berlin, Germany Fon: Uni.: +49 30 314 26 884 privat: +49 30 815 30 32 Handy: +49 173 20 10 696 Homepage: http://www.cadlab.tu-berlin.de/~fusz/ |