#include#include "las.h"
FUNCTION c_mkimg (inname, append, tname, hname, flag)
char *inname; char *append; char *tname; char *hname; long *flag;
Character string which contains the root image filename. It is assumed that the calling program retrieved this filename specification from the TAE parameter block prior to calling c_mkimg().
Defines the character string to be appended to the root filename. If nothing is to be appended, pass a blank string for this argument.
Character string which contains the TAE name of the image.
Character string which contains the hostname of the image.
Flag indicating whether c_mkimg() should check if the image file exists.
= 0: Do not check = 1: Check
The c_mkimg() routine is used to make and return the TAE and host filenames of the image.
c_mkimg() returns
E_SUCC (0) --> successful completion E_FAIL (-1) --> operation failed