MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / API_ROUTINE fb_interpret

Function API_ROUTINE fb_interpret

src/yvalve/gds.cpp:781–784  ·  view source on GitHub ↗

fb_interpret @brief Buffer overrun-aware version of the old gds__interprete without the double underscore and without the misspelling. Translate a status code with arguments to a string. Return the length of the string while updating the vector address. If the message is null (end of messages) or invalid, return 0; @param s the output buffer where a human readable version of the error is

Source from the content-addressed store, hash-verified

779 positions the pointer on the next element of the vector.
780**/
781SLONG API_ROUTINE fb_interpret(char* s, unsigned int bufsize, const ISC_STATUS** vector)
782{
783 return safe_interpret(s, bufsize, vector);
784}
785
786
787/* CVC: This non-const signature is needed for compatibility. The reason is

Callers

nothing calls this directly

Calls 1

safe_interpretFunction · 0.85

Tested by

no test coverage detected