- Function
Determine if a directory entry specifies a regular file.
- Header
- Declaration
int _DE_ISREG(unsigned char type);
- Description
The function is called with the type of a directory entry taken from a
struct dirent
and returns true if the entry designates a regular file.- Limits
- 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.
- Availability
cc65
- See also
- Example
None.