ftruncate.html
来自「vxworks相关论文」· HTML 代码 · 共 59 行
HTML
59 行
<html><head><!-- /vobs/wpwr/docs/vxworks/ref/ftruncate.html - generated by refgen from ftruncate.c --> <title> ftruncate </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>ftruncate</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong>ftruncate</strong> - POSIX file truncation </p></blockquote><h4>ROUTINES</h4><blockquote><p><p><b><i><a href="./ftruncate.html#ftruncate">ftruncate</a></i>( )</b> - truncate a file (POSIX)<br><hr><a name="ftruncate"></a><p align=right><a href="rtnIndex.html"><i>Libraries : Routines</i></a></p></blockquote><h1><i>ftruncate</i>( )</h1> <blockquote></a></blockquote><h4>NAME</h4><blockquote> <p><strong><i>ftruncate</i>( )</strong> - truncate a file (POSIX)</p></blockquote><h4>SYNOPSIS</h4><blockquote><p><pre>int ftruncate ( int fildes, /* fd of file to truncate */ off_t length /* length to truncate file */ )</pre></blockquote><h4>DESCRIPTION</h4><blockquote><p>This routine truncates a file to a specified size. <p></blockquote><h4>RETURNS</h4><blockquote><p>0 (OK) or -1 (ERROR) if unable to truncate file.<p></blockquote><h4>ERRNO</h4><blockquote><p><p> EROFS <br> - File resides on a read-only file system.<br> EBADF<br> - File is open for reading only.<br> EINVAL<br> - File descriptor refers to a file on which this operation is impossible.</blockquote><h4>SEE ALSO</h4><blockquote><p><b><a href="./ftruncate.html#top">ftruncate</a></b></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?