House of Huskhttps://ptr-yudai.hatenablog.com/entry/2020/04/02/111507Summaryprintf 동작 중 사용자가 custom printf 를 등록하여 사용할 수 있는 기능을 이용한 방법.다음과 같이 정의되지 않은 형식문자를 사용자가 등록하여 사용할 수 있음.#include #include int func(FILE* stream, const struct printf_info* info, const void* const* args){ printf("Called Func\n"); } int arginfo(const struct printf_info* info, size_t n, int* argtypes, int* size){ return 1; } ..