描述 C 库函数 int fseek(FILE *stream, long int offset, int whence) 设置流 stream 的文件位置为给定的偏移 offset,参数 offs
生活随笔
收集整理的這篇文章主要介紹了
描述 C 库函数 int fseek(FILE *stream, long int offset, int whence) 设置流 stream 的文件位置为给定的偏移 offset,参数 offs
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
描述
C 庫函數 int fseek(FILE *stream, long int offset, int whence) 設置流 stream 的文件位置為給定的偏移 offset,參數 offset 意味著從給定的 whence 位置查找的字節數。
聲明
下面是 fseek() 函數的聲明。
int fseek(FILE *stream, long int offset, int whence)
參數
stream -- 這是指向 FILE 對象的指針,該 FILE 對象標識了流。 offset -- 這是相對 whence 的偏移量,以字節為單位。 whence -- 這是表示開始添加偏移 offset 的位置。它一般指定為下列常量之一:總結
以上是生活随笔為你收集整理的描述 C 库函数 int fseek(FILE *stream, long int offset, int whence) 设置流 stream 的文件位置为给定的偏移 offset,参数 offs的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 国内可用的时间服务器
- 下一篇: 移动端 H5 开发指南 涉及html、c