Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

KERR_DECL ( const char *   ) 

Translate the error code into a string containing the error constant.

Returns:
Read only string with the constant name.
Parameters:
rc The kErrors status code.

Definition at line 45 of file kErrName.c.

{
    switch (rc)
    {
        case 0: return "SUCCESS";
#define ERR_CONST(c) case c: return #c;
#include "kErrNameConsts.h"
#undef ERR_CONST
        default:
            return "KERR_UNKNOWN_ERROR";
    }
}


Generated by  Doxygen 1.6.0   Back to index