linux平台下fpos_t结构请问linux下fsetpos函数中参数pos如何设置?int fsetpos(FILE *stream,fpos_t pos)[
linux平台下fpos_t结构
请问linux下fsetpos函数中参数pos如何设置?
int fsetpos(FILE *stream,fpos_t pos)
[解决办法]
pos = 10; //就是流中第10字节处
if( fsetpos( fp, &pos ) != 0 )
perror( "fsetpos error" );
[解决办法]
出错信息是什么?编译环境?
[解决办法]
printf("%s\n", strerror(errno));
