tirdwr.4.man
来自「This a separate release of the OpenSS7 X」· MAN 代码 · 共 299 行
MAN
299 行
'\" rtp.\" -*- nroff -*- vim: ft=nroff noautoindent nocindent nosmartindent.\".\" @(#) tirdwr.4.man,v 0.9.2.3 2004/05/16 02:35:40 brian Exp.\".\" =========================================================================.\".\" Copyright (C) 2001-2004 OpenSS7 Corporation <www.openss7.com>.\".\" 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:40 by brian.\".\" =========================================================================.so strxnet.macros.R1bracket-label "\fR[\fB" "\fR]" "\fR, \fB"no-default-databasedatabase strxnet.refsaccumulatemove-punctuationabbreviate Ajoin-authors ", " ", " " and "et-al " et al" 2 3abbreviate-label-ranges ".."sort-adjacent-labels.R2.\".\".TH TIRDWR 4 "2004/05/16 02:35:40" "strxnet-0_9_2-4" "Linux Fast-STREAMS Devices".\".\".SH NAME.B tirdwr\- a STREAMS TLI read/write module.\".\".SH SYNOPSIS.PP.B #include <sys/stropts.h>.br.B #include <sys/tihdr.h>.br.B #include <sys/tirdwr.h>.HP 8.BI "int " t " = open(" \fR\*(lq/dev/tcp\*(rq\fP ", " 0 );.HP 8.BI "int " retval "= ioctl(" t ", " \fRI_PUSH\fP ", " \fR\*(lqtirdwr\*(rq\fP );.\".\".SH DESCRIPTION.PP.B tirdwris a module that provides.BR read (2),.BR readv (2),.BR write (2)and.BR writev (2)support for streams supporting the Transport Provider Interface.BR tpi (7)..[TPI Revision 2.0.0.].PP.B tirdwrperforms the following functions:.IP (1) \w'(000)'u.IP (2) \w'(000)'u.IP (3) \w'(000)'u.IP (4) \w'(000)'u.IP (5) \w'(000)'u.IP (6) \w'(000)'u.IP (7) \w'(000)'u.\".\".SH NOTICES.PP.\".\".SH "SEE ALSO".PP.BR read (2),.BR readv (2),.BR write (2),.BR writev (2),.BR timod (4)..\".\".SH BUGS.PP.B tirdwrhas no known bugs..\".\".SH COMPATIBILITY.PP.B tirdwris compatible with.IR Solaris \(rg,.IR UnixWare \(rgand.BR LiS ,.[LiS.]with the following exceptions:.IP \(em \w'\(em\(em'uAn implementation of.B tirdwris provided with the.B LiS.[LiS.]package, implemented by Ole Husgaard.This implementation is buggy.Ole Husgaard's implementation of.B tirdwrfor.B LiS.[LiS.]has a number of bugs:.IP \(emAlthough.IR STREAMS (4)handles packet reads and writes from the stream head using the.B MSGDELIMflag,.B LiS.[LiS.].B tirdwrdoes not examine or generate.B MSGDELIMflags. This means that.B LiS.[LiS.].B tirdwris unsuitable for use with packet-oriented connection-mode transport serviceproviders such as OSI conforming transport service providers. (In fact,.B LiS.[LiS.].B tirdwrdoesn't handle expedited data transfer at all.).IP \(em.B LiS.[LiS.].B tirdwrdoes not handle expedited data transfers correctly. The correct behavior is togenerate a.B SIGURGsignal as an.B M_SIGmessage and send it upstread before the.BR T_EXDATA_IND (7)converted to an.BR M_DATA .This signals the reader that the next read operation will read expediteddata rather than normal data..IP \(em.B LiS.[LiS.].B tirdwrdoes not handle.BR T_OPTDATA_IND (7)messages..IP \(em.B LiS.[LiS.].B tirdwrperforms an error on disconnection or orderly release, but does not generatethe proper signals for asynchronous file I/O..IP \(em.B LiS.[LiS.].B tirdwrperforms an orderly release when popped and an orderly release is outstanding.This situation should be dealt with by the TPI driver rather than theread/write module. The read/write module should be able to be pushed andpopped from an idle stream in any state without affecting the stream in anyway..IP \(em.I Linux Fast-STREAMS.[LfS.].B tirdwris not bug for bug compatible with the.B LiSimplementation..\".\".SH "CONFORMING TO".PPSVID,.[svid.]XID,.[xbd5.]XNS5,.[xns.]SUSv2,.[susv2.]SUSv3..[susv3.].\".\".SH HISTORY.HP 4A.B tirdwrmodule was provided in.B SVR 4\c..[svr4.]and is described in theTPI..[TPI Revision 2.0.0.].\".\".[$LIST$.].TI
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?