close


Description:

[ CCode ( cname = "FCGX_FClose" ) ]
public int close ()

Closes the stream. For writers, flushes any buffered output.

Close is not a very useful operation since FCGX_Accept does it implicitly. Closing the out stream before the err stream results in an extra write if there's nothing in the err stream, and therefore reduces performance.

Returns:

EOF (-1) if an error occurred.