MCPcopy Create free account
hub / github.com/acl-dev/acl / fseek

Method fseek

lib_acl_cpp/src/stream/fstream.cpp:156–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156acl_off_t fstream::fseek(acl_off_t offset, int whence)
157{
158 if (stream_ == NULL) {
159 logger_error("stream_ null");
160 return -1;
161 }
162
163 acl_off_t ret = acl_vstream_fseek(stream_, offset, whence);
164 eof_ = ret >= 0 ? false : true;
165 return ret;
166}
167
168acl_off_t fstream::ftell(void)
169{

Callers 7

runMethod · 0.80
copy_fileFunction · 0.80
load_paramMethod · 0.80
save_asFunction · 0.80
mime_node_dumpFunction · 0.80
saveMethod · 0.80
transfer_fileMethod · 0.80

Calls 1

acl_vstream_fseekFunction · 0.85

Tested by

no test coverage detected