t_unbind(3xti)t_unbind(3xti)Namet_unbind - disable a transport endpoint.
Syntax
#include <xti.h>
int t_unbind(fd)
int fd;
Arguments
fd Identifies the transport endpoint that the function disables.
Description
The function disables the transport endpoint specified by fd that was
previously bound by On completion of this call, no further data or
events destined for this transport endpoint are accepted by the trans‐
port provider.
──────────────────────────────────────
Parameters Before Call After Call
──────────────────────────────────────
fd x /
──────────────────────────────────────
Return Values
Upon successful completion, a value of 0 is returned. Otherwise, a
value of -1 is returned, and t_errno is set to indicate the error.
Diagnostics
On failure, t_errno is set to one of the following:
[TBADF] The specified file descriptor does not refer to a
transport endpoint.
[TOUTSTATE] The function was issued in the wrong sequence.
[TLOOK] An asynchronous event has occurred on the transport
endpoint.
[TSYSERR] A system error has occurred during execution of
this function.
See Alsot_bind(3xti)t_unbind(3xti)