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

📄 wvfileuploadpathlib.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/wvFileUploadPathLib.html - generated by refgen from wvFileUploadPathLib.c --> <title> wvFileUploadPathLib </title></head><body bgcolor="#FFFFFF"> <hr><a name="top"></a><p align=right><a href="libIndex.html"><i>VxWorks Reference Manual :  Libraries</i></a></p></blockquote><h1>wvFileUploadPathLib</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>wvFileUploadPathLib</strong> - file destination for event data </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./wvFileUploadPathLib.html#fileUploadPathLibInit">fileUploadPathLibInit</a></i>(&nbsp;)</b>  -  initialize the <b><a href="./wvFileUploadPathLib.html#top">wvFileUploadPathLib</a></b> library (Windview)<br><b><i><a href="./wvFileUploadPathLib.html#fileUploadPathCreate">fileUploadPathCreate</a></i>(&nbsp;)</b>  -  create a file for depositing event data (Windview)<br><b><i><a href="./wvFileUploadPathLib.html#fileUploadPathClose">fileUploadPathClose</a></i>(&nbsp;)</b>  -  close the event-destination file (WindView)<br><b><i><a href="./wvFileUploadPathLib.html#fileUploadPathWrite">fileUploadPathWrite</a></i>(&nbsp;)</b>  -  write to the event-destination file (WindView)<br><p></blockquote><h4>DESCRIPTION</h4><blockquote><p>This file contains routines that write events to a file rather thanuploading them to the host using a type of socket connection.  If the fileindicated is a TSFS file, this routine has the same result as uploading to ahost file using other methods, allowing it to replace evtRecv.  The file can becreated anywhere, however, and event data can be kept on the target ifdesired.<p></blockquote><h4>INCLUDE FILES</h4><blockquote><p><p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wvFileUploadPathLib.html#top">wvFileUploadPathLib</a></b>, <b><a href="./wvSockUploadPathLib.html#top">wvSockUploadPathLib</a></b>, <b><a href="./wvTsfsUploadPathLib.html#top">wvTsfsUploadPathLib</a></b><hr><a name="fileUploadPathLibInit"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>fileUploadPathLibInit</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>fileUploadPathLibInit</i>(&nbsp;)</strong> - initialize the <b><a href="./wvFileUploadPathLib.html#top">wvFileUploadPathLib</a></b> library (Windview)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS fileUploadPathLibInit (void)</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine initializes the library by pulling in the routines in this file for use with WindView.  It is called during system configuration from <b>usrWindview.c</b>.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wvFileUploadPathLib.html#top">wvFileUploadPathLib</a></b><hr><a name="fileUploadPathCreate"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>fileUploadPathCreate</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>fileUploadPathCreate</i>(&nbsp;)</strong> - create a file for depositing event data (Windview)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>UPLOAD_ID fileUploadPathCreate    (    char * fname,    /* name of file to create */    int    openFlags /* O_CREAT, O_TRUNC */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine opens and initializes a file to receive uploaded events.  The <i>openFlags</i> argument is passed on as the flags argument to the actual open call so that the caller can specify things like <b>O_TRUNC</b> and <b>O_CREAT</b>.The file is always opened as <b>O_WRONLY</b>, regardless of the value of <i>openFlags</i>.<p></blockquote><h4>RETURNS</h4><blockquote><p>The <b>UPLOAD_ID</b>, or NULL if the file can not be opened or memory for the ID is not available.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wvFileUploadPathLib.html#top">wvFileUploadPathLib</a></b>, <b><i><a href="./wvFileUploadPathLib.html#fileUploadPathClose">fileUploadPathClose</a></i>(&nbsp;)</b><hr><a name="fileUploadPathClose"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>fileUploadPathClose</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>fileUploadPathClose</i>(&nbsp;)</strong> - close the event-destination file (WindView)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>void fileUploadPathClose    (    UPLOAD_ID pathId /* generic upload-path descriptor */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine closes the file associated with <i>pathId</i> that is servingas a destination for event data.<p></blockquote><h4>RETURNS</h4><blockquote><p>N/A<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wvFileUploadPathLib.html#top">wvFileUploadPathLib</a></b>, <b><i><a href="./wvFileUploadPathLib.html#fileUploadPathCreate">fileUploadPathCreate</a></i>(&nbsp;)</b><hr><a name="fileUploadPathWrite"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>fileUploadPathWrite</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>fileUploadPathWrite</i>(&nbsp;)</strong> - write to the event-destination file (WindView)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int fileUploadPathWrite    (    UPLOAD_ID pathId, /* generic upload-path descriptor */    char *    pStart, /* address of data to write */    size_t    size    /* number of bytes of data at pStart */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine writes <i>size</i> bytes of data beginning at <i>pStart</i> to the fileindicated by <i>pathId</i>. <p></blockquote><h4>RETURNS</h4><blockquote><p>The number of bytes written, or ERROR.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./wvFileUploadPathLib.html#top">wvFileUploadPathLib</a></b></body></html>

⌨️ 快捷键说明

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