|
NAMEkhttp_puts —
put string content for kcgi
LIBRARYlibrary “libkcgi”SYNOPSIS#include <sys/types.h>
#include <stdarg.h>
#include <stdint.h>
#include <kcgi.h>
enum kcgi_err
DESCRIPTIONWrites a NUL-terminated string cp to a kcgi(3) context req as allocated with khttp_parse(3) or khttp_fcgi_parse(3). Does nothing if cp isNULL . It
should only be called after
khttp_body(3).
It does not append a newline like
puts(3).
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. |