📄 streams.doc17.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><html><head><link rel="STYLESHEET" type="text/css" href="../../wrs.css"><title>Porting STREAMS Protocols to WindNet STREAMS WindNet STREAMS for Tornado </title></head><body bgcolor="FFFFFF"><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="../../icons/contents.gif"></a><a href="streams.doc16.html"><img border="0" alt="[Prev]" src="../../icons/prev.gif"></a><a href="streams.doc18.html"><img border="0" alt="[Next]" src="../../icons/next.gif"></a></p><font face="Helvetica, sans-serif" class="sans"><h3 class="H2"><i><a name="88484" class="autotag">4.5 WindNet STREAMS Header Files</a></i></h3></font><dl class="margin"><dd><dl class="margin"><dd><p class="Body"><a name="88485" class="autotag"> </a>The WindNet STREAMS for Tornado component release ships with the STREAMS header files necessary to compile STREAMS applications located in the directories <b class="file">/usr/vw/h/streams</b> and <b class="file">/usr/vw/h</b>. The directory<b class="file"> /usr/vw/h/streams</b><b class="keyword"> </b>contains files that are name-compatible with other STREAMS implementations, as well as files specific to WindNet STREAMS operation. The directory<b class="file"> /usr/vw/h</b> contains a single file,<b class="file"> strmLib.h</b>. The following lists of files are those most useful for porting STREAMS components to WindNet STREAMS.</p></dd></dl></dd></dl><dl class="margin"><dd><table border="0" cellpadding="3" cellspacing="0"><tr valign="top"><td valign="top" width="40"><a name="95145" class="autotag"><br></a><img border="0" alt="*" src="../../icons/note.gif"> </td><td><div class="Note"><hr><b class="symbol_UC">NOTE: </b> In order to avoid possible confusion caused by the inclusion of any like-named header files from different Tornado components--for instance the <b class="file">stream.h</b> file from the Wind foundation Classes--use only header files found in <b class="file">/usr/vw/h/streams</b> when workng with WindNet STREAMS, except for <b class="file">strmLib.h</b> which resides in<b class="file"> /usr/vw/h</b>.<hr></div></td></tr></table><dl class="margin"><dd><p class="listspace"><ul class="Bullet" type="disc"><li><a name="88486" class="autotag"> </a>The file <b class="file">h/strmLib.h</b><b class="keyword"> </b>defines WindNet STREAMS-specific routine prototypes and constants. Furthermore, it includes files in the directory <b class="keyword">h/streams/ </b>used by most STREAMS applications executing under WindNet STREAMS. </li></ul></p><p class="listspace"><ul class="Bullet" type="disc"><li><a name="92054" class="autotag"> </a>The following files are functionally compatible with all SVR4 files with the same name. Existing applications that include any of these files need only to change the path to the file location in order to compile successfully under WindNet STREAMS.</li></ul></p><dl class="margin"><dd><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88488" class="autotag"> </a><b class="file">h/streams/cmn_err.h </b></li></ul></p><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88489" class="autotag"> </a><b class="file">h/streams/cred.h</b></li></ul></p><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88490" class="autotag"> </a><b class="file">h/streams/ddi.h </b></li></ul></p><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88491" class="autotag"> </a><b class="file">h/streams/dlpi.h</b></li></ul></p><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88492" class="autotag"> </a><b class="file">h/streams/poll.h</b></li></ul></p><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88493" class="autotag"> </a><b class="file">h/streams/sad.h</b></li></ul></p><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88494" class="autotag"> </a><b class="file">h/streams/stream.h</b></li></ul></p><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88495" class="autotag"> </a><b class="file">h/streams/strlog.h</b></li></ul></p><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88496" class="autotag"> </a><b class="file">h/streams/stropts.h</b></li></ul></p><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88497" class="autotag"> </a><b class="file">h/streams/strstat.h</b></li></ul></p></dd></dl><p class="listspace"><ul class="Bullet" type="disc"><li><a name="88498" class="autotag"> </a>The following files are necessary to compile applications that use the Transport Library Interface (TLI). These files are functionally compatible with files provided by SVR4.</li></ul></p><dl class="margin"><dd><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88499" class="autotag"> </a><b class="file">h/streams/tihdr.h</b></li></ul></p><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88500" class="autotag"> </a><b class="file">h/streams/timod.h</b></li></ul></p><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88501" class="autotag"> </a><b class="file">h/streams/tiuser.h</b></li></ul></p><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88502" class="autotag"> </a><b class="file">h/streams/xti.h</b></li></ul></p></dd></dl><p class="listspace"><ul class="Bullet" type="disc"><li><a name="88503" class="autotag"> </a>The following files are necessary to compile applications that use the STREAMS-based socket library. These files are functionally compatible with files provided by SVR4. </li></ul></p><dl class="margin"><dd><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88504" class="autotag"> </a><b class="file">h/streams/sockio.h</b></li></ul></p><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88505" class="autotag"> </a><b class="file">h/streams/sockmod.h</b></li></ul></p><p class="listspace"><ul class="Bullet2" type="disc"><li><a name="88506" class="autotag"> </a><b class="file">h/streams/sockuser.h</b></li></ul></p></dd></dl><p class="listspace"><ul class="Bullet" type="disc"><li><a name="72106" class="autotag"> </a>The file <b class="file">h/streams/sysmacros.h</b> contains macros which are compatible with SVR4 macros used to manipulate major and minor device numbers.</li></ul></p></dd></dl></dd></dl><a name="foot"><hr></a><p class="navbar" align="right"><a href="index.html"><img border="0" alt="[Contents]" src="../../icons/contents.gif"></a><a href="streams.doc16.html"><img border="0" alt="[Prev]" src="../../icons/prev.gif"></a><a href="streams.doc18.html"><img border="0" alt="[Next]" src="../../icons/next.gif"></a></p></body></html><!---This file generated April 10, 1998, 12:25PM PDTby WRS Documentation (jeff), Wind River Systems, Inc. conversion tool: Quadralay WebWorks Publisher 3.5.0 template: CSS Template, Jan 1998 - Jefro --->
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -