c_cmhost - Returns the host name when given a LAS name

SYNTAX

#include "las.h"

FUNCTION c_cmhost (lname, hname)

     char *lname;
     char *hname;

PARAMETERS

lname (input, character, length(CMLEN))

LAS filename.

hname (output, character, length (CMLEN))

Host filename.

DESCRIPTION

c_cmhost() is used to translate the LAS filename to the host filename. The returned host filename will be fully specified.

RETURN VALUE

c_cmhost() returns

     E_SUCC (0)  --> successful completion 
     E_FAIL (-1) --> operation failed