c_stdlnd - Deletes a specified node

SYNTAX

#include "statio.h"

FUNCTION c_stdlnd (fd, ic, is)

     long               *fd;
     long               *ic;
     long               *is;

PARAMETERS

fd (input, integer)

File descriptor of an opened statistics file. The file descriptor is set by c_stopen() and should not be altered.

ic (input, integer)

The class index of node to delete. See c_stget() for description of parameter ic.

is (input, integer)

The site index of node to delete. See c_stget() for description of parameter is. If is is zero, then class is deleted.

DESCRIPTION

The c_stdlnd() routine first locates the node specified. If the indices are valid, then the node is deleted. If a class is specified (is is zero), then all its sites are deleted also.

RETURN VALUE

c_stdlnd() returns

     E_SUCC  (0) --> successful delete of node
     E_NOCL  (2) --> class ic not found (no message)
     E_NOSI  (3) --> site is not found (no message)
     E_GNLIO (1) --> general I/O error (no message)