Next Previous Contents

3.1 _DE_ISDIR

Function

Determine if a directory entry specifies a directory.

Header

dirent.h

Declaration

int _DE_ISDIR(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 directory.

Limits

  • The function is actually a macro.

Availability

cc65

See also

_DE_ISLBL, _DE_ISLNK, _DE_ISREG

Example

None.


Next Previous Contents