⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 disttbuflib.html

📁 Vxworks API操作系统和驱动程序设计API。压缩的HTML文件
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/distTBufLib.html - generated by refgen from distTBufLib.c --> <title> distTBufLib </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.htm"><i>VxWorks API Reference :  OS Libraries</i></a></p></blockquote><h1>distTBufLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>distTBufLib</strong> - distributed objects telegram buffer library (VxFusion option) </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><a href="./distTBufLib.html#distTBufAlloc">distTBufAlloc</a>(&nbsp;)</b>  -  allocate a telegram buffer from the pool of buffers (VxFusion option)<br><b><a href="./distTBufLib.html#distTBufFree">distTBufFree</a>(&nbsp;)</b>  -  return a telegram buffer to the pool of buffers (VxFusion option)<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This library provides routines for allocating and freeing telegram buffers.  Telegrams are the largest packets that can be sent between nodes by the distributed objects product; their size is limited by the MTU size of theunderlying communications.  If a distributed objects message exceeds the space allocated in a telegram for message data, that message is divided into multiple telegrams that are sent out in sequence. <p></blockquote><h4>AVAILABILITY</h4><blockquote><p>This module is distributed as a component of the unbundled distributedmessage queues option, VxFusion.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><b>distTBufLib.h</b><hr><a name="distTBufAlloc"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>distTBufAlloc(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>distTBufAlloc(&nbsp;)</strong> - allocate a telegram buffer from the pool of buffers (VxFusion option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>DIST_TBUF * distTBufAlloc (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine allocates a telegram buffer from a pre-allocated poolof telegram buffers.<p>It is the responsibility of the caller to use the <b><a href="./distTBufLib.html#distTBufFree">distTBufFree</a>(&nbsp;)</b> routine tofree the buffer when the caller is finished with it.<p></blockquote><h4>AVAILABILITY</h4><blockquote><p>This routine is distributed as a component of the unbundled distributedmessage queues option, VxFusion.<p></blockquote><h4>RETURNS</h4><blockquote><p>A pointer to a <b>DIST_TBUF</b>, or NULL if the allocation fails.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./distTBufLib.html#top">distTBufLib</a></b>, <b>distTBufFree</b><hr><a name="distTBufFree"></a><p align=right><a href="rtnIndex.htm"><i>OS Libraries :  Routines</i></a></p></blockquote><h1>distTBufFree(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>distTBufFree(&nbsp;)</strong> - return a telegram buffer to the pool of buffers (VxFusion option)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void distTBufFree    (    DIST_TBUF * pTBuf         /* ptr to buffer to be returned to pool */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine returns a buffer previously allocated to a caller back tothe pool of free telegram buffers.<p></blockquote><h4>AVAILABILITY</h4><blockquote><p>This routine is distributed as a component of the unbundled distributedmessage queues option, VxFusion.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./distTBufLib.html#top">distTBufLib</a></b>, <b>distTBufAlloc</b></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -