Re: Difference between rgetmsg and rgetlmsg?
Posted in 1995
Dority — — source: Informix-list mailing list archive (1991-1998)
>What's the deal with this function? Can I safely replace it with "rgetmsg", >omitting the 4th parameter of "rgetlmsg"? It doesn't seem to be used >anywhere anyway. rgetlmsg is new in versions 6.x, 7.x of ESQL/C. I belive they've changed the first parameter from a short to a long to support all the new X/OPEN SQLSTATE error messages. In addition, the 4th parameter tells you the "length" of the message string that's being returned. Informix recommends that you start using the new X/OPEN compatible function as opposed to the old rgetmsg (just in case rgetmsg goes away in the future -- I doubt it will, but you never know.) J. Dority