#include <cstdio>
#include <sys/types.h>
Go to the source code of this file.
◆ portable_fseek()
int portable_fseek |
( |
FILE * |
fp, |
|
|
off_t |
offset, |
|
|
int |
whence |
|
) |
| |
|
inline |
Definition at line 39 of file portable_fileio.h.
41#if defined(HAVE_FSEEKO)
42 return fseeko(fp, offset, whence);
43#elif defined(HAVE_FSEEK64)
44 return fseek64(fp, offset, whence);
45#elif defined(__BEOS__)
46 return _fseek(fp, offset, whence);
48 return fseek(fp, offset, whence);
Referenced by EMAN::EMUtil::exclude_numbers_io(), EMAN::PifIO::fseek_to(), EMAN::EMUtil::get_image_type(), EMAN::SerIO::get_nimg(), EMAN::EMUtil::process_numbers_io(), EMAN::EMUtil::process_region_io(), EMAN::Gatan::TagGroup::read(), EMAN::Gatan::TagData::read_array_data(), EMAN::GatanDM4::TagData::read_array_data(), EMAN::MrcIO::read_fei_header(), EMAN::GatanDM4::TagEntry::read_tag_entry(), EMAN::MrcIO::update_stats(), EMAN::SpiderIO::write_single_data(), and EMAN::SpiderIO::write_single_header().
◆ portable_ftell()
off_t portable_ftell |
( |
FILE * |
fp | ) |
|
|
inline |