acl/samples/cgi_env/main.c
zsxxsz cc05b877a2 first commit acl to github
first commit acl to github
2013-08-18 17:42:25 +08:00

17 lines
230 B
C

#include "lib_acl.h"
extern char **_environ;
int main(void)
{
const char **pptr = (const char**) _environ;
printf("Content-Type: text/html\r\n\r\n");
while (*pptr) {
printf("%s<br>\r\n", *pptr);
pptr++;
}
return 0;
}