Determine if a directory entry specifies a regular file.
int _DE_ISREG(unsigned char type);
The function is called with the type of a directory entry taken from a
struct direntand returns true if the entry designates a regular file.
- The function is actually a macro.
- A "regular file" means anything with data in it. This might still mean that special processing is needed, when accessing the file. Relative files of the CBM systems are classified as being "regular" files, for example.
- See also
_DE_ISDIR, _DE_ISLBL, _DE_ISLNK