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

FreeBSD Manual Pages

  
 
  

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

NAME
     khttp_fcgi_free, khttp_fcgi_child_free -- free a FastCGI instance for kcgi

LIBRARY
     libkcgi

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

     enum kcgi_err
     khttp_fcgi_free(struct kfcgi *fcgi);

     void
     khttp_fcgi_child_free(struct kfcgi *fcgi);

DESCRIPTION
     The  khttp_fcgi_free()  and  khttp_fcgi_child_free() functions free the re-
     sources of fcgi allocated by khttp_fcgi_init(3).  After calling this  func-
     tion, fcgi cannot be used.

     The  khttp_fcgi_child_free()  function  performs  the  same  operations  as
     khttp_fcgi_free(), but is careful not  to	trample  on  any  open	streams.
     Thus,  it	may  be used after invoking fork(2) without confusing the output
     buffer or other child processes.

SEE ALSO
     kcgi(3), khttp_fcgi_init(3)

AUTHORS
     The khttp_fcgi_free() and khttp_fcgi_child_free() functions were written by
     Kristaps Dzonsons <kristaps@bsd.lv>.

FreeBSD ports 15.quarterly	   $Mdocdate$		      KHTTP_FCGI_FREE(3)

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

home | help