标签: c printf gnu gettext
我在GNU Binutils中遇到了以下代码:
...... fprintf (stream, _("Usage: %s [option(s)] [file(s)]\n"), program_name); ......
使用_()与不使用相比有什么好处:
_()
...... fprintf (stream, "Usage: %s [option(s)] [file(s)]\n", program_name); ......