Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

t_bind(3N)



t_unbind(3N)            NETWORK FUNCTIONS            t_unbind(3N)



NAME
     t_unbind - disable a transport endpoint

SYNOPSIS
     #include <tiuser.h>

     int t_unbind (int fd);

DESCRIPTION
     The t_unbind function disables the transport endpoint speci-
     fied  by  fd  which  was previously bound by t_bind(3N).  On
     completion of this call, no further data or events  destined
     for  this  transport  endpoint will be accepted by the tran-
     sport 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(3N).
     UNIX System V Network Programmer's Guide.

DIAGNOSTICS
     t_unbind returns 0 on success and -1 on failure and  t_errno
     is set to indicate the error.




















            Last change: Networking Support Utilities           1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026