libwebsockets
Lightweight C library for HTML5 websockets
cgi handling

CGI handling

These functions allow low-level control over stdin/out/err of the cgi.

However for most cases, binding the cgi to http in and out, the default lws implementation already does the right thing.