title: Wrap printf with custom condition
body: <p>I want to only printf if some condition is true. I know printf is a variadic function but sadly I can't seem to find any thread here explaining I can wrap it.</p>
  <p>Basically every in the code where I'd write :</p>
  <pre><code>printf(&quot; [text and format] &quot;, ... args ...);
  </code></pre>
  <p>I want to write something like</p>
  <pre><code>my_custom_printf(&quot; [text and format] &quot;, ... args ...);
  </code></pre>
  <p>Which then is implemented like this :</p>
  <pre><code>int my_custom_printf(const char* text_and_format, ... args ...)
  {
      if(some_condition)
      {
          printf(text_and_format, ... args...);
      }
  }
  </code></pre>
  <p>A first version of the condition would be independent of the args (it would be on some global variable), but it might be in the future that it's a condition on argument that's wanted.</p>
  <p>Anyway, right now I just need the syntax for <code>... args ...</code> in the prototype and the body of <code>my_custom_printf</code>.</p>
  <p>I'm using GCC but I don't know which C standard - but we can just try stuff out.</p>