NAME
RemSegment - Removes a resident segment from the resident list (V36)
SYNOPSIS
success = RemSegment(segment)
D0 D1
bool remsegment(struct segment *)
FUNCTION
Removes a resident segment from the Dos resident segment list,
unloads it, and does any other cleanup required. Will only succeed
if the seg_UC (usecount) is 0.
INPUTS
segment - the segment to be removed
RESULT
success - success or failure.
SEE ALSO
findsegment(), addsegment()