get_file_type


unsigned get_file_type(handle file)

This function obtains the type of an open file.

Parameters

handle file

The handle of the file whose type is being queried.

Return

unsigned

The type of the file - see enumeration file_type.