|
NAMEkhttp_write —
write HTTP content data for kcgi
LIBRARYlibrary “libkcgi”SYNOPSIS#include <sys/types.h>
#include <stdarg.h>
#include <stdint.h>
#include <kcgi.h>
enum kcgi_err
DESCRIPTIONWrite binary data buf of length sz to a kcgi(3) context req allocated with khttp_parse(3) or khttp_fcgi_parse(3). It should only be invoked after khttp_body(3). Does nothing if buf isNULL or
sz is zero.
If kcgi_writer_disable(3) has been previously invoked, this function will abort(3). RETURN VALUESReturns an enum kcgi_err indicating the error state.
SEE ALSOkcgi(3), kcgi_writer_disable(3), khttp_body(3), khttp_parse(3)AUTHORSWritten by Kristaps Dzonsons <kristaps@bsd.lv>.
Visit the GSP FreeBSD Man Page Interface. |