DTMdestroyPort(3DTM)

NAME
DTMdestroyPort - Close the specified port.

SYNOPSIS
#include <dtm.h>

int DTMdestroyPort(int portid)

DESCRIPTION
DTMdestroyPort closes all connections associated with the port portid and frees the entry in the port table. Although optional, use of this call is recommended since it may assist connected processes in proceeding correctly. Ports should be closed as soon as they are no longer functional.

SEE ALSO
DTMmakeInPort, DTMmakeOutPort

DIAGNOSTICS
If an error occurs, DTMdestroyPort returns the value DTMERROR. If this condition occurs, then the variable DTMerrno could be set to one of the following possible values:

	DTMPORTINIT	DTM port not initialized, invalid port.