title: ctags multi-line C function prototypes
body: <p>Is there a way for ctags to handle multiline function prototypes in C?</p>
  
  <p>I've searched around and the <code>--fields=+S</code> is supposed to do multiline prototypes, but I can't get it to work:</p>
  
  <pre><code>ctags -x --c-kinds=pf --fields=+S file
  </code></pre>
  
  <p>file:</p>
  
  <pre><code>int 
  foo(int
      x, int y
      );
  </code></pre>
  
  <p>ctags only returns:</p>
  
  <pre><code>foo(int
  </code></pre>
  
  <p>(Note that the return type is also missing)</p>
  
  <p>Ultimately I would like to get an output similar to</p>
  
  <pre><code>int foo(int x, int y);
  </code></pre>
  
  <p>or </p>
  
  <pre><code>int foo(int x, int y
  </code></pre>
  
  <p>is <code>--fields=+S</code> not the correct way?
  Are there part of the ctags fields that I am missing?
  Any pointers in general?</p>
  
  <p>If there is not a way to do it in ctags, any recommended programs? (I'm currently looking at uncrustify)</p>