Name
t_unbind - disable a transport endpoint
Syntax
#include <tiuser.h>
int t_unbind(fd)
int fd;
Description
The t_unbind function disables the transport endpoint
specified by fd, which was previously bound by t_bind (NSL).
On completion of this call, no further data or events
destined for this transport endpoint will be accepted by the
transport provider.
On failure, t_errno may be 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 this
transport endpoint.
[TSYSERR] A system error has occurred during execution
of this function.
See Also
t_bind(NSL).
Network Programmer's Guide.
Diagnostics
The t_unbind function returns 0 on success and -1 on
failure, and t_errno is set to indicate the error.
Standards Conformance
t_unbind is conformant with:
AT&T SVID Issue 2, Select Code 307-127.
(printed 6/18/89)