Predefined Symbol __func__

When the C99 extensions setting is on, the compiler offers the __func__ predefined variable. The following listing shows an example.

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