i know they have a '.' before their name but isnt tehre a variable that LSTAT sets when its a hidden file? like with the followign code:
lstat(filename, &statbuf);
if(S_ISREG(statbuf.st_mode) this tests for regular files... and it finds hidden files too... wtf....
any help appreciated!
lstat(filename, &statbuf);
if(S_ISREG(statbuf.st_mode) this tests for regular files... and it finds hidden files too... wtf....
any help appreciated!