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

FreeBSD Manual Pages

  
 
  

home | help
KCGI_WRITER_GET(3)	    Library Functions Manual	    KCGI_WRITER_GET(3)

NAME
       kcgi_writer_get -- open a writer	allocation

LIBRARY
       library "libkcgi"

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

       struct kcgi_writer *
       kcgi_writer_get(struct kreq *req, int type);

DESCRIPTION
       The kcgi_writer_get() function opens a writer from request r for	subse-
       quent use by the	kcgi_writer_write(3) family.  The type argument	is re-
       served  for  future use and should be set to zero.  It may only be used
       prior to	kcgi_writer_disable(3),	otherwise  it  will  cause  a  program
       abort.

RETURN VALUES
       Returns a writer	or NULL	if allocation fails.

SEE ALSO
       kcgi_writer_disable(3), kcgi_writer_write(3)

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

FreeBSD	Ports 14.quarterly	  $Mdocdate$		    KCGI_WRITER_GET(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=kcgi_writer_get&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help