The prototype of printf
, according to my stdio.h
, is
extern int printf (const char *__restrict __format, ...);
On the page explaining Restrict, it says that it is a keyword used to indicate that pointers are unique. However, I don't understand why one would need that for printf
.
Why does printf
have a "restrict" keyword?
If it's necessary to explain further what "restrict" means, please do.