c_putddr - Writes first two records of associated DDR file

SYNTAX

#include "las.h"

FUNCTION c_putddr (hname, ddr)

     char                *hname;
     struct DDR          *ddr;

PARAMETERS

hname (input, character, length(CMLEN))

Image host filename for which the information is to be written.

ddr (input, DDR)

A DDR structure or a FORTRAN integer array-dimensioned DDRLEN. It contains the first two records of the DDR.

DESCRIPTION

The c_putddr() call is used to output the first two records of DDR information of image hname.

RETURN VALUE

c_putddr() returns

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