Predefined Symbol __func__

When the C99 extensions setting is on, the compiler offers the __func__ predefined variable. Predefined symbol __func__ shows an example.

Listing 1. Predefined symbol __func__
void abc(void)
{
    puts(__func__); /* Output: "abc" */

}