首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往

std::fgetpos

Defined in header <cstdio>

?

?

int fgetpos( std::FILE* stream, std::fpos_t* pos );

?

?

获取文件位置指示符和文件流的当前解析状态%28(如果有%29)stream并将它们存储在指向的对象中。pos存储的值只有当输入到std::fsetpos...

参数

stream

-

file stream to examine

pos

-

pointer to a fpos_t object to store the file position indicator to

返回值

?0?如果成功,则非零值。也集errno在失败的时候。

另见

ftell

returns the current file position indicator (function)

fseek

moves the file position indicator to a specific location in a file (function)

fsetpos

moves the file position indicator to a specific location in a file (function)

c fgetpos文档

代码语言:txt
复制
 ? cppreference.com

在CreativeCommonsAttribution下授权-ShareAlike未移植许可v3.0。

扫码关注腾讯云开发者

领取腾讯云代金券

http://www.vxiaotou.com