|
From: David M. <dw...@mi...> - 2001-03-06 13:30:16
|
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. |