This a separate release of the OpenSS7 X/Open XTI/TLI library, TLI modules (timod, tirdwr) and the I

源代码在线查看: t_close.3.man

软件大小: 1779 K
上传用户: ddddong
关键词: TLI the separate OpenSS7
下载地址: 免注册下载 普通下载 VIP

相关代码

				'\" rtp				.\" -*- nroff -*- vim: ft=nroff noautoindent nocindent nosmartindent				.\"				.\" @(#) t_close.3.man,v 0.9.2.2 2004/05/16 02:35:36 brian Exp				.\"				.\" =========================================================================				.\"				.\" Copyright (C) 2001-2004  OpenSS7 Corporation 				.\"				.\" All Rights Reserved.				.\"				.\" Permission is granted to make and distribute verbatim copies of this				.\" manual provided the copyright notice and this permission notice are				.\" preserved on all copies.				.\"				.\" Permission is granted to copy and distribute modified versions of this				.\" manual under the conditions for verbatim copying, provided that the				.\" entire resulting derived work is distributed under the terms of a				.\" permission notice identical to this one				.\" 				.\" Since the Linux kernel and libraries are constantly changing, this				.\" manual page may be incorrect or out-of-date.  The author(s) assume no				.\" responsibility for errors or omissions, or for damages resulting from				.\" the use of the information contained herein.  The author(s) may not				.\" have taken the same level of care in the production of this manual,				.\" which is licensed free of charge, as they might when working				.\" professionally.				.\" 				.\" Formatted or processed versions of this manual, if unaccompanied by				.\" the source, must acknowledge the copyright and authors of this work.				.\"				.\" -------------------------------------------------------------------------				.\"				.\" U.S. GOVERNMENT RESTRICTED RIGHTS.  If you are licensing this Software				.\" on behalf of the U.S. Government ("Government"), the following				.\" provisions apply to you.  If the Software is supplied by the Department				.\" of Defense ("DoD"), it is classified as "Commercial Computer Software"				.\" under paragraph 252.227-7014 of the DoD Supplement to the Federal				.\" Acquisition Regulations ("DFARS") (or any successor regulations) and the				.\" Government is acquiring only the license rights granted herein (the				.\" license rights customarily provided to non-Government users).  If the				.\" Software is supplied to any unit or agency of the Government other than				.\" DoD, it is classified as "Restricted Computer Software" and the				.\" Government's rights in the Software are defined in paragraph 52.227-19				.\" of the Federal Acquisition Regulations ("FAR") (or any success				.\" regulations) or, in the cases of NASA, in paragraph 18.52.227-86 of the				.\" NASA Supplement to the FAR (or any successor regulations).				.\"				.\" =========================================================================				.\" 				.\" Commercial licensing and support of this software is available from				.\" OpenSS7 Corporation at a fee.  See http://www.openss7.com/				.\" 				.\" =========================================================================				.\"				.\" Last Modified 2004/05/16 02:35:36 by brian				.\"				.\" =========================================================================				.so strxnet.macros				.R1				bracket-label "\fR[\fB" "\fR]" "\fR, \fB"				no-default-database				database strxnet.refs				accumulate				move-punctuation				abbreviate A				join-authors ", " ", " " and "				et-al " et al" 2 3				abbreviate-label-ranges ".."				sort-adjacent-labels				.R2				.\"				.\"				.\"				.\"				.TH T_CLOSE 3 "2004/05/16 02:35:36" "strxnet-0_9_2-4" "OpenSS7 XTI/TLI Library"				.\"				.\"				.SH NAME				.B t_close				\- close a transport endpoint				.\"				.\"				.SH SYNOPSIS				.PP				.B #include 				.HP 8				.BI "int t_close(int " fd );				.\"				.\"				.SH ARGUMENTS				.PP				.TP				.I fd				the transport endpoint to close.				.\"				.\"				.SH DESCRIPTION				.PP				.BR t_close ()				closes a transport endpoint.  Once closed, tranport endpoints are in the				.B T_UNINT				state and cannot accept any requests not permitted in the				.B T_UNINT				state.				.PP				.I fd				is the local transport endpoint to close.				.\"				.\"				.SH "RETURN VALUE"				.PP				Upon success,				.BR t_close ()				returns zero (0).				Upon failure,				.BR t_close ()				returns -1 and sets				.IR t_errno (3)				to an appropriate error number.				.\"				.\"				.SH ERRORS				.PP				When				.BR t_close ()				fails, it returns -1 and sets				.IR t_errno (3)				to an appropriate error number as follows:				.TP \w'[TNOTSUPPORT]\(em'u				.RB [ TBADF ]				.I fd				is invalid.				.TP				.RB [ TPROTO ]				A protocol error occured between the XTI/TLI library and the underlying transport provider.				.TP				.RB [ TSYSERR ]				A \fBLinux\fR system error occured and the \fBLinux\fR error number is set in \fIerrno\fR(3).				.\"				.\"				.SH "SEE ALSO"				.PP				.BR t_errno (3),				.IR errno (3)				.\"				.\"				.SH BUGS				.PP				.BR t_close ()				has no known bugs.				.BR t_close ()				has been tested for the described behavior using the				.I /usr/bin/test-xnet				conformance test program.				.\"				.\"				.SH "CONFORMING TO"				.PP				XTI/TLI,				.[				XTI				.]				TPI,				.[				TPI Revision 2.0.0				.]				XPG5,				XNS 5.2,				.[				xns				.]				SUSv2.				.[				susv2				.]				.\"				.\"				.[				$LIST$				.]				.T4							

相关资源