MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / setPos

Method setPos

src/isql/InputDevices.cpp:125–135  ·  view source on GitHub ↗

Restore a previously stored reading position held in the parameter.

Source from the content-addressed store, hash-verified

123
124// Restore a previously stored reading position held in the parameter.
125void InputDevices::indev::setPos(const fpos_t* in)
126{
127 fb_assert(in);
128 fb_assert(indev_fpointer);
129#ifdef SFIO
130// hack to fix bad sfio header
131 os_utils::fsetpos(indev_fpointer, const_cast<fpos_t*>(in));
132#else
133 os_utils::fsetpos(indev_fpointer, in);
134#endif
135}
136
137void InputDevices::indev::makeFullFileName()
138{

Callers 4

parseMethod · 0.45
parseMethod · 0.45
parseMethod · 0.45
blr_print_dtypeFunction · 0.45

Calls 1

fsetposFunction · 0.50

Tested by

no test coverage detected