disable a transport endpoint
cc [options] file -lnsl
int t_unbind (int fd);
The t_unbind function is a TLI/XTI local management routine
used to disable the transport endpoint specified by
fd which was previously bound by
On completion of this call, no further data or events destined for
this transport endpoint will be accepted by the transport provider.
the file descriptor for the transport endpoint.
On entry, T_IDLE; T_UNBND on exit.
X/Open® Transport Interface Library (shared object)
Network Services Library (shared object)
t_unbind returns 0 on success and -1 on failure and
t_errno is set to indicate the error.
On failure, t_errno may be set to one of the following:
The specified file descriptor does not refer to a transport endpoint.
The function was issued in the wrong sequence.
An asynchronous event has occurred on this transport endpoint.
A system error has occurred during execution of this function.
A communication problem has been detected with the transport provider
and there is no other value of t_errno to describe
the error condition.
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004