delseg - delete segment definition
short delseg (WVFILE *wfp, char *segnam)
delseg() deletes a segment definition from the waveform open as
On success, delseg() returns a 0. -1 is returned if segnam
isn't found, and -2 is returned for any other error.