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
- arg_pathname -- the path leading up to this file
- a_direntry -- a directory entry read by readdir()
RESULT
The type of the file.