#include "las.h"
FUNCTION c_gettyp (hname, nmrimg, dtype)
char hname[][CMLEN]; long *nmrimg; long *dtype;
Array of image host filenames for which the type type is to be returned.
Number of images specified in parameter hname. In most cases, the parameter nmrimg is returned by the function c_getin().
Data type of the image(s) to be returned to the calling program.
The c_gettyp() routine is used to return the data type of the image(s). It returns a bad status code if the DDR cannot be read or if the data types of the images are not the same. No error message is output.
c_gettyp() returns
E_SUCC (0) --> successful completion E_FAIL (-1) --> operation failed