I want to determine a file's type - not in the sense if it is a .pdf, perl file, etc - rather if it is a directory, symlink, etc. I know this is contained in the first bit of the mode returned by stat(). I do not know how to "unpack" that bit and determine what it means.
Could someone kindly shed some light on this for me?
Much thanks
--draconis
In reply to How to determine a file's type via stat() by draconis
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |