Contents

stringFromReturn

Supplies a programmer-friendly string from an IOReturn code.

Declaration

virtual const char * stringFromReturn(
 IOReturnrtn );

Parameters

  • rtn:

    The IOReturn code.

Return Value

A pointer to a constant string, or zero if the return code is unknown.

Overview

Strings are available for the standard return codes in IOReturn.h in IOService, while subclasses may implement this method to interpret family dependent return codes.

See Also

Miscellaneous