반응형
http://blog.hwport.com/196?category=14
(void)fprintf(stdout, "%s:%s:%d message\n", __FILE__, __func__, __LINE__);
int main(void)
{
static const char *__func__[] = "main";
(void)fprintf(stdout, "%s\n", __func__);
/* ... */
}
반응형