c - printf (_ ("hello, world\n")) 是什么意思?

标签 c gnu

<分区>

printf/puts 等的 _("hello, world\n") 参数的作用是什么?我经常在阅读 GNU 源代码时发现它。

最佳答案

参见 GNU Gettext -- 它 (_(...)) 用作翻译的“绑定(bind)站点”。

关于c - printf (_ ("hello, world\n")) 是什么意思?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4299669/

相关文章:

C 编译器和链接器节命名

linux - "/etc"在Zen of Unix/GNU Linux中的作用

find - 为什么 "find . -name *.txt | xargs du -hc"给出多个总数?

c++ - 错误 : too few template-parameter-lists

c - 通过 UNIX 域套接字发送文件描述符和 select()

c - 如何计算整数数组中的元素数

c - SDL_CreateRenderer 内的段错误

c - 使用 sprintf 影响数组的内容,使用 char* 影响另一个 char 数组

更改链接哪个 libc.so ?

unix - gnu date - 为什么上个月不是?