S
Steven T. Hatton
I found the following two statements in the file linked below:
struct stat st;
stat(fileName.c_str(), &st);
http://websvn.kde.org/branches/work/kdevelop4-parser/main.cpp?rev=420247&view=markup
This is from /usr/include/sys/stat.h which I'm pretty sure is what #include
<sys/stat.h> is pulling in. I plain and simply do not understand what the
above two lines of code do. Can someone please explain?
extern int stat (__const char *__restrict __file,
struct stat *__restrict __buf) __THROW;
struct stat st;
stat(fileName.c_str(), &st);
http://websvn.kde.org/branches/work/kdevelop4-parser/main.cpp?rev=420247&view=markup
This is from /usr/include/sys/stat.h which I'm pretty sure is what #include
<sys/stat.h> is pulling in. I plain and simply do not understand what the
above two lines of code do. Can someone please explain?
extern int stat (__const char *__restrict __file,
struct stat *__restrict __buf) __THROW;