1cgiwrap_iterenv(3) cgi/cgiwrap.h cgiwrap_iterenv(3)
2
3
4
6 cgiwrap_iterenv - iterater for env vars
7
9 #include <cgi/cgiwrap.h>
10
11
12 NEOERR *cgiwrap_iterenv (int n, char **k, char **v);
13
14
15
16
18 n - variable to return. This should start at 0 and increment
19 until you receive a NULL return value.
20
21
23 cgiwrap_iterenv allows a program to iterate over all the environment
24 variables. This is probably mostly used by the default debug output.
25
26
28 k - a malloc'd copy of the variable name
29 v - a malloc'd copy of the variable value
30
31
33 cgiwrap_iterenv(3), cgiwrap_putenv(3), cgiwrap_init_emu(3), cgi‐
34 wrap_writef(3), cgiwrap_init_std(3), cgiwrap_writevf(3), cgi‐
35 wrap_read(3), cgiwrap_write(3), cgiwrap_getenv
36
37
38
39ClearSilver 12 July 2007 cgiwrap_iterenv(3)