Subject | Re: [firebird-support] Meaning of fb_interpret parameters |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2009-04-18T21:49:09Z |
> So my question is .. What are the meaning of fb_intpret parameters?/**
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 put
@param bufsize the size of the output buffer
@param vector the input, the address of const pointer to the status vector
that was filled by an API call that reported an error. The function
positions the pointer on the next element of the vector.
**/
If your status vector doesn't contain errors, fb_interpret naturally
will return zero.
SY, SD.