#include "statio.h"
FUNCTION c_stdldt (fd, data_type, ic, is)
long *fd; char *data_type; long *ic; long *is;
File descriptor of an opened statistics file. The file descriptor is set by c_stopen() and should not be altered.
The data type of the item to be deleted. See c_stput() for description of parameter data_type.
The index of the class which the data belongs to. See c_stget() for description of parameter ic.
The index of the site to which the data belongs. See c_stget() for description of parameter is.
The c_stdldt() routine deletes the specified data item using ic, is, and data_type to first locate the item. If found, it is deleted from the file. If site level data is deleted which makes a site empty, then the site is automatically removed from the file.
c_stdldt() returns
E_SUCC (0) --> successful delete E_NOCL (2) --> class is not found (no message) E_NOSI (3) --> site is not found (no message) E_NODT (4) --> datatype not found (no message) E_GNLIO (1) --> general I/O error (no message)