cgiwrap_init_emu man page on DragonFly

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

cgiwrap_init_emu(3)		 cgi/cgiwrap.h		   cgiwrap_init_emu(3)

NAME
       cgiwrap_init_emu	 - initialize cgiwrap for emulated use

SYNOPSIS
       #include <cgi/cgiwrap.h>

       void cgiwrap_init_emu (void *data, READ_FUNC read_cb,
	   WRITEF_FUNC writef_cb, WRITE_FUNC write_cb, GETENV_FUNC getenv_cb,
	   PUTENV_FUNC putenv_cb, ITERENV_FUNC iterenv_cb);

ARGUMENTS
       data - user data to be passed to the specified callbacks
       read_cb - a cb to replace fread(stdin)
       writef_cb - a cb to repalce fprintf(stdout)
       write_cb - a cb to replace fwrite(stdout)
       getenv_cb - a cb to replace getenv
       putenv_cb - a cb to replace putenv
       iterenv_cb - a cb to replace the default environment iteration
       function (which just wraps walking the envp array)

DESCRIPTION
       cgiwrap_init_emu	 sets  up the cgiwrap subsystem for use in an emulated
       environment where you are providing routines to use  in	place  of  the
       standard routines, ie when used to interface with a server or scripting
       language.  See cgi/cgiwrap.h for the exact definitions of the  callback
       functions.

RETURN VALUE
       None

SEE ALSO
       cgiwrap_iterenv(3),    cgiwrap_putenv(3),   cgiwrap_init_emu(3),	  cgi‐
       wrap_writef(3),	  cgiwrap_init_std(3),	  cgiwrap_writevf(3),	  cgi‐
       wrap_read(3), cgiwrap_write(3), cgiwrap_getenv

ClearSilver			 12 July 2007		   cgiwrap_init_emu(3)
[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