t_unbind - synchronise transport library
#include <xti.h>
int t_unbind(
int fd)
The t_unbind(3) function has only one parameter.
Parameters | Before call | After call |
---|---|---|
fd | x | / |
The t_unbind(3) function disables the transport endpoint specified by fd which was previously bound by t_bind(3). On completion of this call, no further data or events destined for this transport endpoint will be accepted by the transport provider. An endpoint which is disabled by using t_unbind(3) can be enabled by a subsequent call to t_bind(3).
T_IDLE
On failure, t_errno is set to one of the following:
Upon successful completion, a value of 0 is returned. Otherwise, a value of -1 is returned and t_errno is set to indicate an error.
t_bind(3)