I found a new vim script called hints_man3.
It shows the prototype of C library functions as you write them.
You need to set your cmdheight option to at least 2 for it to work.
This can be done by adding:

au BufRead,BufNewFile *.c,*.h set ch=2

to your .vimrc file. Here’s a screenshot: