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

📄 usrfd.html

📁 vxworks相关论文
💻 HTML
字号:
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/usrFd.html - generated by refgen from /vobs/wpwr/target/src/config/usrFd.c --> <title> usrFd </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>usrFd</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong>usrFd</strong> - floppy disk initialization </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./usrFd.html#usrFdConfig">usrFdConfig</a></i>(&nbsp;)</b>  -  mount a DOS file system from a floppy disk<br><hr><a name="usrFdConfig"></a><p align=right><a href="rtnIndex.html"><i>Libraries :  Routines</i></a></p></blockquote><h1><i>usrFdConfig</i>(&nbsp;)</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote>  <p><strong><i>usrFdConfig</i>(&nbsp;)</strong> - mount a DOS file system from a floppy disk</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>STATUS usrFdConfig    (    int    drive,   /* drive number of floppy disk (0 - 3) */    int    type,    /* type of floppy disk */    char * fileName /* mount point */    )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine mounts a DOS file system from a floppy disk device.<p>The <i>drive</i> parameter is the drive number of the floppy disk;valid values are 0 to 3.<p>The <i>type</i> parameter specifies the type of diskette, which is describedin the structure table <b>fdTypes[]</b> in <b>sysLib.c</b>.  <i>type</i> is an index tothe table.  Currently the table contains two diskette types:<ul><li>  A <i>type</i> of 0 indicates the first entry in the table (3.5" 2HD, 1.44MB);</li><li>   A <i>type</i> of 1 indicates the second entry in the table (5.25" 2HD, 1.2MB). </ul><p><p>The <i>fileName</i> parameter is the mount point, e.g., <b>/fd0/</b>.<p></blockquote><h4>NOTE</h4><blockquote><p>Do not attempt to unmount a volume that was mounted with <b><i><a href="./usrFd.html#usrFdConfig">usrFdConfig</a></i>(&nbsp;)</b> using <b><i><a href="./dosFsLib.html#dosFsVolUnmount">dosFsVolUnmount</a></i>(&nbsp;)</b>. <b><i><a href="./usrFd.html#usrFdConfig">usrFdConfig</a></i>(&nbsp;)</b> does not return the <b>DOS_VOL_CONFIG</b> structure required by <b><i><a href="./dosFsLib.html#dosFsVolUnmount">dosFsVolUnmount</a></i>(&nbsp;)</b>. Instead use <b><i><a href="./ioLib.html#ioctl">ioctl</a></i>(&nbsp;)</b> with FIOUNMOUNT whichaccesses the volume information via the file descriptor.<p></blockquote><h4>RETURNS</h4><blockquote><p>OK or ERROR.<p></blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./usrFd.html#top">usrFd</a></b>, <i>VxWorks Programmer's Guide: I/O System, Local File Systems, Intel i386/i486 Appendix</i></body></html>

⌨️ 快捷键说明

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