Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Pro*C sqlglm(): is error message null-terminated?
the sqlglm() routine available in Pro*C returns an error message and
its length. I have seen casual examples in this newsgroup that assume
the error message is null-terminated: for instance, they just print it
with printf("%s",...). On the other hand, the Oracle docs don't seem
to assume null-termination. Is the error message in fact guaranteed to
be null-terminated?
Thanks,
Dan Halbert
Received on Mon Dec 21 1998 - 09:48:07 CST
![]() |
![]() |