c - How do I view implementation source of printf? -
i want see how printf (and many other functions) works.
i wrote
#include <windows.h> #include <stdio.h> int main() { printf(""); return 0; }
in main.c code , go definition in right click menu
but shows like
_check_return_opt_ _crtimp int __cdecl printf(_in_z_ _printf_format_string_ const char * _format, ...); #if __stdc_want_secure_lib__ _check_return_opt_ _crtimp int __cdecl printf_s(_in_z_ _printf_format_string_ const char * _format, ...); #endif
i can't find hints on how printf works.
anyone let me know how learn standard library implementation?
here go:
this gnu c library implementation (glibc).
Comments
Post a Comment