t_unbind(S) (TLI/XTI) 6 January 1993 t_unbind(S) Name t_unbind - disable a transport endpoint Syntax TLI syntax cc . . . -lnsls #include <sys/tiuser.h> int t_unbind (fd) int fd; XTI syntax cc . . . -lxti #include <xti.h> int t_unbind (fd) int fd; Description The tunbind function disables the transport endpoint specified by fd, which was previously bound by tbind. On completion of this call, no further data or events destined for this transport endpoint is accepted by the transport provider. On failure, terrno may be set to one of the following: [TBADF] The specified file descriptor does not refer to a trans- port endpoint. [TLOOK] An asynchronous event has occurred on this transport end- point. [TOUTSTATE] The function was issued in the wrong sequence; the state should be TIDLE. [TSYSERR] A system error occurred during execution of this function. Diagnostics The tunbind function returns 0 on success and -1 on failure, and terrno is set to indicate the error. See also tbind(S) Standards conformance tunbind is conformant with: AT&T SVID Issue 2; X/Open Portability Guide, Issue 3, 1989; and Intel386 Binary Compatibility Specification, Edition 2 (iBCSe2).