I'm using GCC as compiler. I wanted to know original form of printf function. So I found stdio.h file in /usr/include(I'm using CentOS 8.2 in GCP).
When I opened stdio.h file and found printf, something was written like
extern int printf(const char *__restrict __format, ...);
What is extern and ... in this sentence? How and where can I see original form of printf function?
printf, it's a really complicated function. Google printf source code gnu you you'll find plenty of implementations. For the source code of yourprintfit might be provided somewhere, but without more information we can't tell much more.int printf(const char *format, ...);that's is your reference. Everything else is implementation details and should not be of prinary interest.