来自 C11 草案:
C11 (n1570), § K.3.5.1.1
tmpfile_s功能
errno_t tmpfile_s(FILE * restrict * restrict streamptr);
这里限定词的目的是什么restrict?
因为没有其他参数,编译器能够知道streamptr没有别名restrict,不是吗?
来自 C11 草案:
C11 (n1570), § K.3.5.1.1
tmpfile_s功能
errno_t tmpfile_s(FILE * restrict * restrict streamptr);
这里限定词的目的是什么restrict?
因为没有其他参数,编译器能够知道streamptr没有别名restrict,不是吗?