/* Prints a descriptive string of the error to the string * Returns the number of printed characters if successful or -1 on error */ int libvmdk_error_sprint( libvmdk_error_t *error, char *string, size_t size ) { return( libcerror_error_sprint( (libcerror_error_t *) error, string, size ) ); }
/* Prints a descriptive string of the error to the string * The end-of-string character is not included in the return value * Returns the number of printed characters if successful or -1 on error */ int libqcow_error_sprint( libqcow_error_t *error, char *string, size_t size ) { int print_count = 0; print_count = libcerror_error_sprint( (libcerror_error_t *) error, string, size ); return( print_count ); }