Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
KCGI_WRITER_DISABLE(3) FreeBSD Library Functions Manual	KCGI_WRITER_DISABLE(3)

NAME
     kcgi_writer_disable -- disable further writer allocations

LIBRARY
     library "libkcgi"

SYNOPSIS
     #include <sys/types.h>
     #include <stdarg.h>
     #include <stdint.h>
     #include <kcgi.h>

     void
     kcgi_writer_disable(struct	kreq *req);

DESCRIPTION
     The kcgi_writer_disable() function	disables subsequent calls to
     kjson_open(3), kxml_open(3), khtml_open(3), and the khttp_write(3)	family
     of	writing	functions.  It may be invoked multiple times.  The purpose of
     kcgi_writer_disable() is to lock down writes to a given format and	guar-
     antee conformant output.

     After invocation, calling any of the above	functions will abort(3)	the
     program.

SEE ALSO
     kcgihtml(3), kcgijson(3), kcgixml(3)

AUTHORS
     This function was written by Kristaps Dzonsons <kristaps@bsd.lv>.

FreeBSD	13.0		       January 12, 2020			  FreeBSD 13.0

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | SEE ALSO | AUTHORS

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=kcgi_writer_disable&sektion=3&manpath=FreeBSD+13.0-RELEASE+and+Ports>

home | help