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_writevf(3), cgiwrap_write(3), cgiwrap_read(3), cgi‐
37 wrap_iterenv(3), cgiwrap_putenv(3), cgiwrap_init_emu(3), cgi‐
38 wrap_getenv(3), cgiwrap_init_std(3), cgiwrap_writef
39
40
41
42ClearSilver 14 November 2006 cgiwrap_putenv(3)