Consider the following 3 lines of code:
struct stat buffer; status = lstat(file.c_str(), &buffer); bool Flag = S_ISREG(buffer.st_mode)
When S_ISREG () returns true , it tells you that the file is a regular file
What does regular funds mean?
thanks
c ++ c unix file
Debugger
source share