a0DisposePort()

Disposes a port.


Syntax

a0tError a0DisposePort(
a0tPort *port);

Arguments

Namerd/wrDescription
port write Port to dispose.

Description

This function disposes a port descriptor. It allows the system to reuse the port numbers of the disposed port descritor. In the current version, this function doesn't perform any action.


Return Values

If an error condition occurs, it returns the error code, otherwise it returns A0ErrOk. Possible values are as follows:
Error CodeDescription
A0Err...Some error occurred.
A0ErrOkSuccessful completion.

See Also

a0NewPort()