void * (func) (void * obj, Sint32 err); / * Error processing function * / void * obj; / * Pointer to the registered object * / Sint32 err_code; / * Error code that occurred * /(* func) (obj, err_code); / * Error processing function call * /
When returning from the error handling function, the library function returns control to the application side with the error code as the function value.