Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ t_unbind(3N) — SunOS 5.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

t_bind(3N)

t_unbind(3N)

NAME

t_unbind − disable a transport endpoint

SYNOPSIS

cc [ flag ... ] file ... −lnsl [ library ... ]

#include <tiuser.h>

int t_unbind(int fildes);

DESCRIPTION

The t_unbind() function disables the transport endpoint specified by fildes 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 transport provider. 

RETURN VALUES

t_unbind() returns 0 on success.  On failure t_unbind() returns −1, t_errno is set to indicate the error, and possibly errno is set. 

ERRORS

On failure, t_errno will be set to one of the following:

TBADF The specified file descriptor does not refer to a transport endpoint. 

TLOOK An asynchronous event has occurred on this transport endpoint. 

TOUTSTATE The function was issued in the wrong sequence. 

TSYSERR A system error has occurred during execution of this function, errno will be set to the specific error. 

SEE ALSO

t_bind(3N)

SunOS 5.1 Network Interfaces Programmer’s Guide

SunOS 5.1  —  Last change: 3 Jul 1990

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