khttp_free man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

KHTTP_FREE(3)		 BSD Library Functions Manual		 KHTTP_FREE(3)

NAME
     khttp_free, khttp_child_free — free a CGI instance for kcgi

LIBRARY
     library “libkcgi”

SYNOPSIS
     #include <stdint.h>
     #include <kcgi.h>

     void
     khttp_free(struct kreq *req);

     void
     khttp_child_free(struct kreq *req);

DESCRIPTION
     The khttp_free and khttp_child_free functions free the resources of req
     allocated by khttp_parse(3) or khttp_fcgi_parse(3), flushing the HTTP
     data stream in the process.  After calling this function, the members of
     req should not be used.

     The khttp_child_free performs the same operations as khttp_free, but does
     not flush the HTTP data stream.  Thus, it may be used after invoking
     fork(2) without confusing the output buffer.

SEE ALSO
     kcgi(3), khttp_parse(3)

AUTHORS
     The khttp_free and khttp_child_free functions were written by Kristaps
     Dzonsons ⟨kristaps@bsd.lv⟩.

BSD				April 29, 2024				   BSD
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net