1cgiwrap_putenv(3) cgi/cgiwrap.h cgiwrap_putenv(3)
2
3
4
6 cgiwrap_putenv - wrap the putenv call
7
9 #include <cgi/cgiwrap.h>
10
11
12 NEOERR *cgiwrap_putenv (const char *k, const char *v);
13
14
15
16
18 k - the env var name
19 v - the new value for env var k
20
21
23 cgiwrap_putenv wraps the putenv call. This is mostly used by the
24 cgi_debug_init function to create an artificial environment. This ver‐
25 sion differs from the system version by having separate arguments for
26 the variable name and value, which makes life easier for the caller
27 (usually), and keeps most wrapping callbacks from having to implement a
28 parser to separate them.
29
30
32 None
33
34
36 cgiwrap_iterenv(3), cgiwrap_putenv(3), cgiwrap_init_emu(3), cgi‐
37 wrap_writef(3), cgiwrap_init_std(3), cgiwrap_writevf(3), cgi‐
38 wrap_read(3), cgiwrap_write(3), cgiwrap_getenv
39
40
41
42ClearSilver 12 July 2007 cgiwrap_putenv(3)