
"!
Appendix B
B-19
Gets a pointer to a NULL-terminated “canned” error message.
C Syntax
#include <copro.h>
char *CC_ERROR (error)
unsigned error;
Parameters
error
Specifies the error message to print. The number is typically supplied
by the status returned from an API function call or the I/O status
returned in iostat.
Returns
Variable Value
#
Description
Use the CC_ERROR function to get a pointer to the “canned” error
message corresponding to an error number. This error number is typically
the value of the iostat variable or the return status of an API function. We
recommend that you use this function in a C routine, although you can use
it in a BASIC procedure. See CC_ERRSTR for a BASIC procedure.
CC_ERROR
Komentarze do niniejszej Instrukcji