Predefined variable of the name of the function being compiled.
static const char __FUNCTION__[] = " function-name ";
The compiler implicitly defines this variable at the beginning of each function if the function refers to __FUNCTION__ . The character string contained by this array, function-name , is the name of the function being compiled.
This implicit variable is undefined outside of a function body.