t_unbind(3N) UNIX System V(Networking Support Utilities) t_unbind(3N)
NAME
tunbind - disable a transport endpoint
SYNOPSIS
#include <tiuser.h>
int tunbind (int fd);
DESCRIPTION
The tunbind function disables the transport endpoint specified by fd
which was previously bound by tbind(3N). On completion of this call, no
further data or events destined for this transport endpoint will be
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
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
tbind(3N)
Programmer's Guide: Networking Interfaces
DIAGNOSTICS
tunbind returns 0 on success and -1 on failure and terrno is set to
indicate the error.
10/89 Page 1