Toolkit Reference |
This function converts the specified Toolkit error code to a string. The caller must supply a buffer buf of length buflen to store the result. Toolkit copies the error string to the buffer. If the buffer is too small the string is truncated. A buffer of 128 bytes should be sufficient.
errorCode | The error code to be translated. For information about possible error values, refer to Appendix |
buf | The buffer into which the function copies the error. |
buflen | The length of the buffer. |
char * | The supplied buf pointer. |
NULL | The function has failed due to an invalid error code. |
Notes
The return value must not be deleted.
This is an MT-Safe version of Vtk_ErrorToString.
ValiCert, Inc. http://www.valicert.com Voice: +1.650.567.5469 Fax: (+1.650.254.2148 support@valicert.com |