Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ t_unbind(3) — Macintosh Execution Environment 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

t_bind(3)

t_unbind(3)

NAME

t_unbind − disable a transport endpoint

SYNOPSIS

#include <xti.h>     (for XTI)

or

#include <tiuser.h>  (for TLI)

 
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(3).  On completion of this call, no further data or events destined for this transport endpoint will be accepted by the transport provider. 
 

ERRORS

On failure, t_errno is set to the following:

­[TBADF] The specified identifier 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. 

RETURN VALUE

Upon successful completion, a value of 0 is returned.  Otherwise, a value of -1 is returned and t_errno is set to indicate an error. 

NOTE

In HP-UX 9.0, XTI (X/Open Transport Interface) supports only OSI as a transport provider, and is available only as part of the OSI Transport Services 9000 product. Users of this product can access XTI versions of the t_* routines by linking with /usr/lib/libxti.a.  For more information on XTI, see "HP-UX/9000 XTI Programmer’s Guide". 

In HP-UX 9.0, TLI (Transport Layer Interface) supports any transport provider which is compliant with TPI (Transport Provider Interface).  TLI is available only as part of the STREAMS product.  Users of this product can access TLI versions of the t_* routines by linking with /usr/lib/libnsl_s.a.  For more information on TLI, see the TLI section of "STREAMS/UX for HP 9000 Reference Manual". 

SEE ALSO

t_bind(3). 

Hewlett-Packard Company  —  HP-UX Release 9.0: October 1992

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