首页 文章

printf定义中的__format究竟是什么意思/做什么?

提问于
浏览
-1

请问你能帮我理解printf原型中的__format是什么吗?

extern int printf(const char * __ restrict __format,...);

如何在文档中找到这些集合?

谢谢!

1 回答

  • 0

    根据ISO / IEC 9899:1999声明,

    int printf(const char * restrict format, ... );

    使用 __ 是一个变量命名法 .

相关问题