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

Method gotoEof

src/isql/InputDevices.cpp:274–279  ·  view source on GitHub ↗

Go to end of file if we are reading from a file (not stdin).

Source from the content-addressed store, hash-verified

272
273// Go to end of file if we are reading from a file (not stdin).
274void InputDevices::gotoEof()
275{
276 fb_assert(m_ifp.indev_fpointer);
277 if (m_ifp.indev_fpointer != stdin)
278 fseek(m_ifp.indev_fpointer, 0, SEEK_END);
279}
280
281InputDevices::Command::Command(const char* statement, const char* term)
282 : m_statement(getPool())

Callers

nothing calls this directly

Calls 1

fseekFunction · 0.85

Tested by

no test coverage detected