Cen*_*noc 8 c file
是否有相当于fd的fseek?我一直在使用int fds很长一段时间,并想使用fseek ...但我知道没有搜索功能.
提前致谢!
Joh*_*ica 12
查看POSIX函数lseek(2):
概要 #include <unistd.h> off_t lseek(int fildes, off_t offset, int whence); Run Code Online (Sandbox Code Playgroud) 描述 该lseek()函数根据指令将文件描述符的偏移量重新定位fildes到参数.参数必须是一个打开的文件描述符.offsetwhencefildes
#include <unistd.h> off_t lseek(int fildes, off_t offset, int whence);
该lseek()函数根据指令将文件描述符的偏移量重新定位fildes到参数.参数必须是一个打开的文件描述符.offsetwhencefildes
lseek()
fildes
offset
whence
归档时间:
15 年,1 月 前
查看次数:
5214 次
最近记录: