replseg - replace endpoints of a segment definition
short replseg (WVFILE *wfp, char *segnam, long begbyt, long endbyt)
replseg() finds segnam definition and inserts new endpoints.
Upon success, 0 is returned. If segment isn't found, -1 is returned and -2
is returned for any other error.