📄 cgiwrap_init_emu.3
字号:
.TH cgiwrap_init_emu 3 "12 July 2007" "ClearSilver" "cgi/cgiwrap.h".de Ss.sp.ft CW.nf...de Se.fi.ft P.sp...SH NAMEcgiwrap_init_emu - initialize cgiwrap for emulated use.SH SYNOPSIS.Ss#include <cgi/cgiwrap.h>.Se.Ssvoid 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);.Se.SH ARGUMENTSdata - user data to be passed to the specified callbacks.brread_cb - a cb to replace fread(stdin).brwritef_cb - a cb to repalce fprintf(stdout).brwrite_cb - a cb to replace fwrite(stdout).brgetenv_cb - a cb to replace getenv.brputenv_cb - a cb to replace putenv.briterenv_cb - a cb to replace the default environment iteration.brfunction (which just wraps walking the envp array).SH DESCRIPTIONcgiwrap_init_emu sets up the cgiwrap subsystem for usein an emulated environment where you are providingroutines to use in place of the standard routines, iewhen used to interface with a server or scriptinglanguage.See cgi/cgiwrap.h for the exact definitions of thecallback functions..SH "RETURN VALUE"None.SH "SEE ALSO".BR cgiwrap_iterenv "(3), "cgiwrap_putenv "(3), "cgiwrap_init_emu "(3), "cgiwrap_writef "(3), "cgiwrap_init_std "(3), "cgiwrap_writevf "(3), "cgiwrap_read "(3), "cgiwrap_write "(3), "cgiwrap_getenv
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -