FastCGI Programmer's Guide - Chapter 2, Developing FastCGI Applications in C - and yes, it does make sense from time to time to program your CGIs (or FCGIs) in C.