When I get error 0x10, I want to be able to make sense of that error code. Looking up IOReturn.h and mach/error.h is not particularly convenient. I was lost when I got 0x22 error code. This is really silly question but is there a function like error2String which can map IOReturn error code to String that describes the error ?
A:
Code running in the kernel can use IOService::stringFromReturn(...)
Nick Dowell
2010-10-27 09:22:34