Directory/RB_FileType [ Functions ]

FUNCTION

Determine the type of the file. This function is used for all compilers except VC++.

If _DIRENT_HAVE_D_TYPE is defined we can find the filetype directly in the a_direntry. If not we have to stat the file to find out.

SYNOPSIS

T_RB_FileType RB_FileType(
    char *arg_pathname,
    struct dirent *a_direntry )

INPUTS

RESULT

The type of the file.